summaryrefslogtreecommitdiff
path: root/py/test/Ice/operations/ServerAMD.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-12 13:50:05 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-12 13:50:05 +0000
commit892bc25c813ced27f04bd872423109f0bd868b6f (patch)
treecda7ba37c46f0ba676f62c60975c30ef40fd7fa5 /py/test/Ice/operations/ServerAMD.py
parentFix bug 973 (diff)
downloadice-892bc25c813ced27f04bd872423109f0bd868b6f.tar.bz2
ice-892bc25c813ced27f04bd872423109f0bd868b6f.tar.xz
ice-892bc25c813ced27f04bd872423109f0bd868b6f.zip
Removed/fixed use of stringToIdentity. Fixed bug 973
Diffstat (limited to 'py/test/Ice/operations/ServerAMD.py')
-rw-r--r--py/test/Ice/operations/ServerAMD.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/test/Ice/operations/ServerAMD.py b/py/test/Ice/operations/ServerAMD.py
index cd9ef8f3644..064731d6a2c 100644
--- a/py/test/Ice/operations/ServerAMD.py
+++ b/py/test/Ice/operations/ServerAMD.py
@@ -89,7 +89,7 @@ class MyDerivedClassI(Test.MyDerivedClass):
def opMyClass_async(self, cb, p1, current=None):
p2 = p1
- p3 = Test.MyClassPrx.uncheckedCast(self.adapter.createProxy(Ice.stringToIdentity("noSuchIdentity")))
+ p3 = Test.MyClassPrx.uncheckedCast(self.adapter.createProxy(communicator.stringToIdentity("noSuchIdentity")))
cb.ice_response(Test.MyClassPrx.uncheckedCast(self.adapter.createProxy(self.identity)), p2, p3)
def opStruct_async(self, cb, p1, p2, current=None):
@@ -230,9 +230,9 @@ class TestCheckedCastI(Test.TestCheckedCast):
def run(args, communicator):
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000:udp")
adapter = communicator.createObjectAdapter("TestAdapter")
- id = Ice.stringToIdentity("test")
+ id = communicator.stringToIdentity("test")
adapter.add(MyDerivedClassI(adapter, id), id)
- adapter.add(TestCheckedCastI(), Ice.stringToIdentity("context"))
+ adapter.add(TestCheckedCastI(), communicator.stringToIdentity("context"))
adapter.activate()
communicator.waitForShutdown()
return True