[svn] commit: r3238 - /branches/trac353/src/lib/python/isc/net/tests/parse_test.py

BIND 10 source code commits bind10-changes at lists.isc.org
Sun Oct 17 13:47:49 UTC 2010


Author: vorner
Date: Sun Oct 17 13:47:49 2010
New Revision: 3238

Log:
Comment about test that requirement

Modified:
    branches/trac353/src/lib/python/isc/net/tests/parse_test.py

Modified: branches/trac353/src/lib/python/isc/net/tests/parse_test.py
==============================================================================
--- branches/trac353/src/lib/python/isc/net/tests/parse_test.py (original)
+++ branches/trac353/src/lib/python/isc/net/tests/parse_test.py Sun Oct 17 13:47:49 2010
@@ -64,6 +64,10 @@
         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")))




More information about the bind10-changes mailing list