summaryrefslogtreecommitdiff
path: root/python/test/Ice/slicing/objects/AllTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/slicing/objects/AllTests.py')
-rw-r--r--python/test/Ice/slicing/objects/AllTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/slicing/objects/AllTests.py b/python/test/Ice/slicing/objects/AllTests.py
index f836c2b993e..3d44a3323ab 100644
--- a/python/test/Ice/slicing/objects/AllTests.py
+++ b/python/test/Ice/slicing/objects/AllTests.py
@@ -1666,7 +1666,7 @@ def allTests(communicator):
# UCNode. This provides an easy way to determine how many
# unmarshaled instances currently exist.
#
- communicator.addValueFactory(NodeFactoryI, Test.PNode.ice_staticId())
+ communicator.getValueFactoryManager().add(NodeFactoryI, Test.PNode.ice_staticId())
#
# Relay a graph through the server. This test uses a preserved class
@@ -1753,7 +1753,7 @@ def allTests(communicator):
# Preserved. This provides an easy way to determine how many
# unmarshaled instances currently exist.
#
- communicator.addValueFactory(PreservedFactoryI, Test.Preserved.ice_staticId())
+ communicator.getValueFactoryManager().add(PreservedFactoryI, Test.Preserved.ice_staticId())
#
# Obtain a preserved object from the server where the most-derived