Commit aadeb42c authored by Michal Vaner's avatar Michal Vaner
Browse files

Comment about test that requirement

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac353@3238 e5f2f494-b856-4b98-b285-d166d9295462
parent 5e25674e
......@@ -64,6 +64,10 @@ class TestCheckIP(unittest.TestCase):
the same.
"""
self.assertEqual("192.0.2.0", str(addr_parse("192.0.2.0")))
# The OS could return something else than canonical form, in which
# case the test would fail. However, I do not see an easy way to fix
# the test, so it is left this way unless someone finds an OS that
# does return something else.
self.assertEqual("2001:bd8::", str(addr_parse("2001:bd8::")))
# It should strip the unnecesarry parts
self.assertEqual("2001:bd8::", str(addr_parse("2001:bd8:0:0:0:0:0:0")))
......
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