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

nitb.configure(ip_address, 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)