aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-05-05 13:41:42 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-05-05 13:56:01 +0200
commit40c7bc7765e265939c0da6949608be69e8bedd74 (patch)
tree7a91dc122c93d9c5f9801961677608ad2b78a758 /doc
parenta442cb8e5f4107611e0bb3d8ccebe9ab876fe26c (diff)
tests: Replace 'suite' with 'tenv'
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/examples/2g_osmocom/suites/sms/mo_mt_sms.py18
-rwxr-xr-xdoc/examples/4g_srsLTE/suites/4g/iperf3_dl.py8
-rwxr-xr-xdoc/examples/4g_srsLTE/suites/4g/iperf3_ul.py8
-rwxr-xr-xdoc/examples/4g_srsLTE/suites/4g/ping.py6
4 files changed, 20 insertions, 20 deletions
diff --git a/doc/examples/2g_osmocom/suites/sms/mo_mt_sms.py b/doc/examples/2g_osmocom/suites/sms/mo_mt_sms.py
index 7654ea6..51e78c0 100755
--- a/doc/examples/2g_osmocom/suites/sms/mo_mt_sms.py
+++ b/doc/examples/2g_osmocom/suites/sms/mo_mt_sms.py
@@ -1,15 +1,15 @@
#!/usr/bin/env python3
from osmo_gsm_tester.testenv import *
-hlr = suite.hlr()
-bts = suite.bts()
-mgw_msc = suite.mgw()
-mgw_bsc = suite.mgw()
-stp = suite.stp()
-msc = suite.msc(hlr, mgw_msc, stp)
-bsc = suite.bsc(msc, mgw_bsc, stp)
-ms_mo = suite.modem()
-ms_mt = suite.modem()
+hlr = tenv.hlr()
+bts = tenv.bts()
+mgw_msc = tenv.mgw()
+mgw_bsc = tenv.mgw()
+stp = tenv.stp()
+msc = tenv.msc(hlr, mgw_msc, stp)
+bsc = tenv.bsc(msc, mgw_bsc, stp)
+ms_mo = tenv.modem()
+ms_mt = tenv.modem()
hlr.start()
stp.start()
diff --git a/doc/examples/4g_srsLTE/suites/4g/iperf3_dl.py b/doc/examples/4g_srsLTE/suites/4g/iperf3_dl.py
index 88ae82d..d4fa649 100755
--- a/doc/examples/4g_srsLTE/suites/4g/iperf3_dl.py
+++ b/doc/examples/4g_srsLTE/suites/4g/iperf3_dl.py
@@ -12,10 +12,10 @@ def print_results(cli_res, srv_res):
print_result_node(cli_res, 'client')
print_result_node(srv_res, 'server')
-epc = suite.epc()
-enb = suite.enb()
-ue = suite.modem()
-iperf3srv = suite.iperf3srv({'addr': epc.tun_addr()})
+epc = tenv.epc()
+enb = tenv.enb()
+ue = tenv.modem()
+iperf3srv = tenv.iperf3srv({'addr': epc.tun_addr()})
iperf3srv.set_run_node(epc.run_node())
iperf3cli = iperf3srv.create_client()
iperf3cli.set_run_node(ue.run_node())
diff --git a/doc/examples/4g_srsLTE/suites/4g/iperf3_ul.py b/doc/examples/4g_srsLTE/suites/4g/iperf3_ul.py
index 597b50d..64d476b 100755
--- a/doc/examples/4g_srsLTE/suites/4g/iperf3_ul.py
+++ b/doc/examples/4g_srsLTE/suites/4g/iperf3_ul.py
@@ -12,10 +12,10 @@ def print_results(cli_res, srv_res):
print_result_node(cli_res, 'client')
print_result_node(srv_res, 'server')
-epc = suite.epc()
-enb = suite.enb()
-ue = suite.modem()
-iperf3srv = suite.iperf3srv({'addr': epc.tun_addr()})
+epc = tenv.epc()
+enb = tenv.enb()
+ue = tenv.modem()
+iperf3srv = tenv.iperf3srv({'addr': epc.tun_addr()})
iperf3srv.set_run_node(epc.run_node())
iperf3cli = iperf3srv.create_client()
iperf3cli.set_run_node(ue.run_node())
diff --git a/doc/examples/4g_srsLTE/suites/4g/ping.py b/doc/examples/4g_srsLTE/suites/4g/ping.py
index 17eee78..c81a35d 100755
--- a/doc/examples/4g_srsLTE/suites/4g/ping.py
+++ b/doc/examples/4g_srsLTE/suites/4g/ping.py
@@ -1,9 +1,9 @@
#!/usr/bin/env python3
from osmo_gsm_tester.testenv import *
-epc = suite.epc()
-enb = suite.enb()
-ue = suite.modem()
+epc = tenv.epc()
+enb = tenv.enb()
+ue = tenv.modem()
epc.subscriber_add(ue)
epc.start()