diff options
Diffstat (limited to 'python/test/Ice/info/AllTests.py')
-rw-r--r-- | python/test/Ice/info/AllTests.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/test/Ice/info/AllTests.py b/python/test/Ice/info/AllTests.py index a03b69ecc4d..abc90961c6e 100644 --- a/python/test/Ice/info/AllTests.py +++ b/python/test/Ice/info/AllTests.py @@ -96,6 +96,12 @@ def allTests(communicator): test(udpEndpoint.datagram()) test(udpEndpoint.port > 0) + endpoints = (endpoints[0], ) + test(len(endpoints) == 1) + adapter.setPublishedEndpoints(endpoints) + publishedEndpoints = adapter.getPublishedEndpoints() + test(endpoints == publishedEndpoints) + adapter.destroy() communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -h * -p 12020") @@ -105,6 +111,7 @@ def allTests(communicator): endpoints = adapter.getEndpoints() test(len(endpoints) >= 1) publishedEndpoints = adapter.getPublishedEndpoints() + test(len(publishedEndpoints) == 1) for i in range(0, len(endpoints)): |