summaryrefslogtreecommitdiff
path: root/python/test/Ice/binding
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
committerBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
commit883edab4361e58957796f25d5fc55cfb41f0f6ea (patch)
treefc90adc372b66bf0becf4c0912794c64af250a29 /python/test/Ice/binding
parentICE-7242 - Cross test updates (diff)
downloadice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.bz2
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.xz
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.zip
Deprecate Communicator::stringToIdentity and identityToString
Diffstat (limited to 'python/test/Ice/binding')
-rwxr-xr-xpython/test/Ice/binding/Server.py2
-rw-r--r--python/test/Ice/binding/TestI.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/binding/Server.py b/python/test/Ice/binding/Server.py
index 41bfe2404ff..e86495fecc4 100755
--- a/python/test/Ice/binding/Server.py
+++ b/python/test/Ice/binding/Server.py
@@ -17,7 +17,7 @@ import Test, TestI
def run(args, communicator):
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010:udp")
adapter = communicator.createObjectAdapter("TestAdapter")
- id = communicator.stringToIdentity("communicator")
+ id = Ice.stringToIdentity("communicator")
adapter.add(TestI.RemoteCommunicatorI(), id)
adapter.activate()
diff --git a/python/test/Ice/binding/TestI.py b/python/test/Ice/binding/TestI.py
index e5aebf4a66e..a707b83f191 100644
--- a/python/test/Ice/binding/TestI.py
+++ b/python/test/Ice/binding/TestI.py
@@ -35,7 +35,7 @@ class RemoteCommunicatorI(Test.RemoteCommunicator):
class RemoteObjectAdapterI(Test.RemoteObjectAdapter):
def __init__(self, adapter):
self._adapter = adapter
- self._testIntf = Test.TestIntfPrx.uncheckedCast(self._adapter.add(TestI(), adapter.getCommunicator().stringToIdentity("test")))
+ self._testIntf = Test.TestIntfPrx.uncheckedCast(self._adapter.add(TestI(), Ice.stringToIdentity("test")))
self._adapter.activate()
def getTestIntf(self, current=None):