diff options
author | Jose <jose@zeroc.com> | 2018-08-06 11:56:42 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-08-06 11:56:42 +0200 |
commit | 7972f07a3aa244dcde673b7cb5541e70da9193bb (patch) | |
tree | 117faced1bb36ac256c7d362e11ac1c49e8e8c88 /python/test/Ice/faultTolerance/AllTests.py | |
parent | Update JavaScript tests to use TestHelper class (diff) | |
download | ice-7972f07a3aa244dcde673b7cb5541e70da9193bb.tar.bz2 ice-7972f07a3aa244dcde673b7cb5541e70da9193bb.tar.xz ice-7972f07a3aa244dcde673b7cb5541e70da9193bb.zip |
Python test suite updates
Diffstat (limited to 'python/test/Ice/faultTolerance/AllTests.py')
-rw-r--r-- | python/test/Ice/faultTolerance/AllTests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/test/Ice/faultTolerance/AllTests.py b/python/test/Ice/faultTolerance/AllTests.py index ddee51dc48b..cfd6d4421d8 100644 --- a/python/test/Ice/faultTolerance/AllTests.py +++ b/python/test/Ice/faultTolerance/AllTests.py @@ -60,12 +60,12 @@ class Callback(CallbackBase): def pid(self): return self._pid -def allTests(communicator, ports): +def allTests(helper, communicator, ports): sys.stdout.write("testing stringToProxy... ") sys.stdout.flush() ref = "test" - for p in ports: - ref = ref + ":default -p " + str(p) + for i in range(len(ports)): + ref += ":{0}".format(helper.getTestEndpoint(num=i)) base = communicator.stringToProxy(ref) test(base) print("ok") |