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

Comment about test that requirement

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 5e25674e
......@@ -64,6 +64,10 @@ class TestCheckIP(unittest.TestCase):
the same.
self.assertEqual("", str(addr_parse("")))
# 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")))
Supports Markdown
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