diff options
author | Jose <pepone@users.noreply.github.com> | 2019-09-10 22:03:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-10 22:03:44 +0200 |
commit | c7b9f79e8bb324dd407eba8503c24f7bba012844 (patch) | |
tree | 934b4c0938d6145db919f41bb3851af83ee14444 /python/test | |
parent | Dispose the X509Chain with .NET Standard 2.0 - Close #518 (diff) | |
download | ice-c7b9f79e8bb324dd407eba8503c24f7bba012844.tar.bz2 ice-c7b9f79e8bb324dd407eba8503c24f7bba012844.tar.xz ice-c7b9f79e8bb324dd407eba8503c24f7bba012844.zip |
Fixes for endpoint to string conversion - Close #517 (#519)
Diffstat (limited to 'python/test')
-rw-r--r-- | python/test/Ice/proxy/AllTests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/test/Ice/proxy/AllTests.py b/python/test/Ice/proxy/AllTests.py index 049e1bbadf3..b8fae1db448 100644 --- a/python/test/Ice/proxy/AllTests.py +++ b/python/test/Ice/proxy/AllTests.py @@ -85,6 +85,12 @@ def allTests(helper, communicator, collocated): test(b1.ice_getIdentity().name == "test" and b1.ice_getIdentity().category == "category" and \ len(b1.ice_getAdapterId()) == 0) + b1 = communicator.stringToProxy("test:tcp --sourceAddress \"::1\"") + test(b1 == communicator.stringToProxy(b1.ice_toString())) + + b1 = communicator.stringToProxy("test:udp --sourceAddress \"::1\" --interface \"0:0:0:0:0:0:0:1%lo\"") + test(b1 == communicator.stringToProxy(b1.ice_toString())) + b1 = communicator.stringToProxy("test@adapter") test(b1.ice_getIdentity().name == "test" and len(b1.ice_getIdentity().category) == 0 and \ b1.ice_getAdapterId() == "adapter") |