Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
88f94cf8
Commit
88f94cf8
authored
Dec 06, 2011
by
Michal 'vorner' Vaner
Browse files
[1429] IPv6 address in test
parent
4db174c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bind10/tests/bind10_test.py.in
View file @
88f94cf8
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment