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/scope/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/scope/AllTests.py')
-rw-r--r-- | python/test/Ice/scope/AllTests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/python/test/Ice/scope/AllTests.py b/python/test/Ice/scope/AllTests.py index b7552d179d5..c043794436f 100644 --- a/python/test/Ice/scope/AllTests.py +++ b/python/test/Ice/scope/AllTests.py @@ -15,10 +15,10 @@ def test(b): raise RuntimeError('test assertion failed') -def allTests(communicator): +def allTests(helper, communicator): sys.stdout.write("test same Slice type name in different scopes... ") sys.stdout.flush() - i1 = Test.IPrx.checkedCast(communicator.stringToProxy("i1:default -p 12010")) + i1 = Test.IPrx.checkedCast(communicator.stringToProxy("i1:{0}".format(helper.getTestEndpoint()))) s1 = Test.S(0) @@ -57,7 +57,7 @@ def allTests(communicator): test(cmap2["a"].s == s1) test(cmap3["a"].s == s1) - i2 = Test.Inner.Inner2.IPrx.checkedCast(communicator.stringToProxy("i2:default -p 12010")) + i2 = Test.Inner.Inner2.IPrx.checkedCast(communicator.stringToProxy("i2:{0}".format(helper.getTestEndpoint()))) s1 = Test.Inner.Inner2.S(0) @@ -96,7 +96,7 @@ def allTests(communicator): test(cmap2["a"].s == s1) test(cmap3["a"].s == s1) - i3 = Test.Inner.IPrx.checkedCast(communicator.stringToProxy("i3:default -p 12010")) + i3 = Test.Inner.IPrx.checkedCast(communicator.stringToProxy("i3:{0}".format(helper.getTestEndpoint()))) s1 = Test.Inner.Inner2.S(0) @@ -135,7 +135,7 @@ def allTests(communicator): test(cmap2["a"].s == s1) test(cmap3["a"].s == s1) - i4 = Inner.Test.Inner2.IPrx.checkedCast(communicator.stringToProxy("i4:default -p 12010")) + i4 = Inner.Test.Inner2.IPrx.checkedCast(communicator.stringToProxy("i4:{0}".format(helper.getTestEndpoint()))) s1 = Test.S(0) |