Commit 88f94cf8 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[1429] IPv6 address in test

parent 4db174c8
......@@ -117,7 +117,7 @@ class TestCacheCommands(unittest.TestCase):
self.__raise_exception = None
self.__socket_args = {
"port": 53,
"address": "0.0.0.0",
"address": "::",
"protocol": "UDP",
"share_mode": "ANY",
"share_name": "app"
......@@ -242,7 +242,7 @@ class TestCacheCommands(unittest.TestCase):
}, answer)
addr = self.__get_token_called[1]
self.assertTrue(isinstance(addr, IPAddr))
self.assertEqual("0.0.0.0", str(addr))
self.assertEqual("::", str(addr))
self.assertEqual(("UDP", addr, 53, "ANY", "app"),
self.__get_token_called)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment