From d6d4a866120eef1ffc2e411ac305328a4386b4a2 Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 1 Mar 2017 21:31:59 +0100 Subject: Fix test controller to work with older IcePy versions --- scripts/Controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/Controller.py') diff --git a/scripts/Controller.py b/scripts/Controller.py index 4965e38cee5..421569e1523 100755 --- a/scripts/Controller.py +++ b/scripts/Controller.py @@ -82,7 +82,7 @@ class ControllerDriver(Driver): Ice.loadSlice(os.path.join(toplevel, "scripts", "Controller.ice")) import Test - class TestCaseI(Test.Common._TestCaseDisp): + class TestCaseI(getServantClass("Test.Common", "TestCase")): def __init__(self, driver, current): self.driver = driver self.current = current @@ -130,7 +130,7 @@ class ControllerDriver(Driver): self.current.config.parsedOptions.append(a) setattr(self.current.config, a, v) - class ControllerI(Test.Common._ControllerDisp): + class ControllerI(getServantClass("Test.Common", "Controller")): def __init__(self, driver): self.driver = driver self.testcase = None -- cgit v1.2.3