summaryrefslogtreecommitdiffstats
path: root/selftest/suite_test/test_suite/mo_sms.py
blob: d9517dd35682759f4346760140bbac794b6e7be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
nitb_iface = resources.nitb_iface()
nitb = resources.nitb()
bts = resources.bts()
ms_ext = resources.msisdn()
fake_ext = resources.msisdn()
ms = resources.modem()

nitb.configure(nitb_iface, bts)
bts.configure(nitb)

nitb.start()
bts.start()

nitb.add_fake_ext(fake_ext)
nitb.add_subscriber(ms, ms_ext)

ms.start()
wait(nitb.subscriber_attached, ms)
sms = ms.sms_send(fake_ext)
wait(nitb.sms_received, sms)