summaryrefslogtreecommitdiff
path: root/python/test/Ice/exceptions/AllTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/exceptions/AllTests.py')
-rw-r--r--python/test/Ice/exceptions/AllTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/exceptions/AllTests.py b/python/test/Ice/exceptions/AllTests.py
index 2c95ecff595..975f75b28e6 100644
--- a/python/test/Ice/exceptions/AllTests.py
+++ b/python/test/Ice/exceptions/AllTests.py
@@ -270,9 +270,9 @@ def allTests(communicator):
sys.stdout.write("testing object factory registration exception... ")
sys.stdout.flush()
- communicator.addValueFactory(ValueFactory, "x")
+ communicator.getValueFactoryManager().add(ValueFactory, "x")
try:
- communicator.addValueFactory(ValueFactory, "x")
+ communicator.getValueFactoryManager().add(ValueFactory, "x")
test(false)
except Ice.AlreadyRegisteredException:
pass