Update obj classes in obj/ to use testenv instead of suite_run
Change-Id: Idf41243a497de7bc507b9f1cd1b38640f456f815
diff --git a/src/osmo_gsm_tester/obj/pcu.py b/src/osmo_gsm_tester/obj/pcu.py
index 6028f06..ed94d49 100644
--- a/src/osmo_gsm_tester/obj/pcu.py
+++ b/src/osmo_gsm_tester/obj/pcu.py
@@ -27,10 +27,10 @@
# PROTECTED
##############
- def __init__(self, suite_run, bts, conf, name):
+ def __init__(self, testenv, bts, conf, name):
"""Base constructor. Must be called by subclass."""
super().__init__(log.C_RUN, name)
- self.suite_run = suite_run
+ self.testenv = testenv
self.bts = bts
self.conf = conf
@@ -55,8 +55,8 @@
class PcuDummy(Pcu):
"""PCU for BTS without proper PCU control"""
- def __init__(self, suite_run, bts, conf):
- super().__init__(suite_run, bts, conf, 'PcuDummy')
+ def __init__(self, testenv, bts, conf):
+ super().__init__(testenv, bts, conf, 'PcuDummy')
def start(self, keepalive=False):
pass