summaryrefslogtreecommitdiff
path: root/python/test/Ice/scope/AllTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/scope/AllTests.py')
-rw-r--r--python/test/Ice/scope/AllTests.py10
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)