Rename test module to testenv and update references
Preparation to move current Test class into its own module test from
suite module.
Change-Id: I520bd046cb09042b5567d967f951f050e4e02e85
diff --git a/src/osmo_gsm_tester/suite.py b/src/osmo_gsm_tester/suite.py
index 1a96b1e..5b9df76 100644
--- a/src/osmo_gsm_tester/suite.py
+++ b/src/osmo_gsm_tester/suite.py
@@ -24,7 +24,7 @@
import pprint
from . import config, log, template, util, resource, schema, event_loop
from . import osmo_nitb, osmo_hlr, osmo_mgcpgw, osmo_mgw, osmo_msc, osmo_bsc, osmo_stp, modem, esme, sms
-from . import test
+from . import testenv
class Timeout(Exception):
pass
@@ -89,7 +89,7 @@
log.large_separator(self.suite_run.trial.name(), self.suite_run.name(), self.name(), sublevel=3)
self.status = Test.UNKNOWN
self.start_timestamp = time.time()
- test.setup(self.suite_run, self, sys.modules[__name__], event_loop, sms)
+ testenv.setup(self.suite_run, self, sys.modules[__name__], event_loop, sms)
with self.redirect_stdout():
util.run_python_file('%s.%s' % (self.suite_run.definition.name(), self.basename),
self.path)
diff --git a/src/osmo_gsm_tester/test.py b/src/osmo_gsm_tester/testenv.py
similarity index 97%
rename from src/osmo_gsm_tester/test.py
rename to src/osmo_gsm_tester/testenv.py
index b939054..26b492e 100644
--- a/src/osmo_gsm_tester/test.py
+++ b/src/osmo_gsm_tester/testenv.py
@@ -19,7 +19,7 @@
# These will be initialized before each test run.
# A test script can thus establish its context by doing:
-# from osmo_gsm_tester.test import *
+# from osmo_gsm_tester.testenv import *
trial = None
suite = None
test = None