summaryrefslogtreecommitdiffstats
path: root/selftest/suite_test/test_suite/mo_mt_sms.py
blob: 8b5e1ec46739eabcd902e606a54be23f6cff630b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ip_address = resources.ip_address()
nitb = resources.nitb()
bts = resources.bts()
ms_mo = resources.modem()
ms_mt = resources.modem()

nitb.start(ip_address)
bts.start(nitb)

nitb.add_subscriber(ms_mo, resources.msisdn())
nitb.add_subscriber(ms_mt, resources.msisdn())

ms_mo.start()
ms_mt.start()
wait(nitb.subscriber_attached, ms_mo, ms_mt)

sms = ms_mo.sms_send(ms_mt.msisdn)
wait(nitb.sms_received, sms)