aboutsummaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-06-04 17:09:16 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-06-04 17:09:16 +0200
commit315ba57651d0a2c7c1edf77b5468240e9a6c29c9 (patch)
treee4442968ecff1622f5a9a9ef55fc02da7f7f0da2 /selftest
parent7e30d84034d6c82099cf7000975ae4d17d58beb9 (diff)
testenv: Get rid of 'resources' global variable
Diffstat (limited to 'selftest')
-rw-r--r--selftest/suite_test/suitedirA/test_suite/mo_mt_sms.py14
-rw-r--r--selftest/suite_test/suitedirA/test_suite/mo_sms.py12
2 files changed, 13 insertions, 13 deletions
diff --git a/selftest/suite_test/suitedirA/test_suite/mo_mt_sms.py b/selftest/suite_test/suitedirA/test_suite/mo_mt_sms.py
index c9558d8..c3a1dd5 100644
--- a/selftest/suite_test/suitedirA/test_suite/mo_mt_sms.py
+++ b/selftest/suite_test/suitedirA/test_suite/mo_mt_sms.py
@@ -1,14 +1,14 @@
-ip_address = resources.ip_address()
-nitb = resources.nitb()
-bts = resources.bts()
-ms_mo = resources.modem()
-ms_mt = resources.modem()
+ip_address = tenv.ip_address()
+nitb = tenv.nitb()
+bts = tenv.bts()
+ms_mo = tenv.modem()
+ms_mt = tenv.modem()
nitb.start(ip_address)
bts.start(nitb)
-nitb.add_subscriber(ms_mo, resources.msisdn())
-nitb.add_subscriber(ms_mt, resources.msisdn())
+nitb.add_subscriber(ms_mo, tenv.msisdn())
+nitb.add_subscriber(ms_mt, tenv.msisdn())
ms_mo.start()
ms_mt.start()
diff --git a/selftest/suite_test/suitedirA/test_suite/mo_sms.py b/selftest/suite_test/suitedirA/test_suite/mo_sms.py
index 768a99c..48923d2 100644
--- a/selftest/suite_test/suitedirA/test_suite/mo_sms.py
+++ b/selftest/suite_test/suitedirA/test_suite/mo_sms.py
@@ -1,9 +1,9 @@
-ip_address = resources.ip_address()
-nitb = resources.nitb()
-bts = resources.bts()
-ms_ext = resources.msisdn()
-fake_ext = resources.msisdn()
-ms = resources.modem()
+ip_address = tenv.ip_address()
+nitb = tenv.nitb()
+bts = tenv.bts()
+ms_ext = tenv.msisdn()
+fake_ext = tenv.msisdn()
+ms = tenv.modem()
nitb.configure(ip_address, bts)
bts.configure(nitb)