[svn] commit: r1961 - /branches/trac185/src/bin/xfrin/tests/xfrin_test.py

BIND 10 source code commits bind10-changes at lists.isc.org
Fri May 28 06:59:05 UTC 2010


Author: zhanglikun
Date: Fri May 28 06:59:05 2010
New Revision: 1961

Log:
Fix failed test cases.

Modified:
    branches/trac185/src/bin/xfrin/tests/xfrin_test.py

Modified: branches/trac185/src/bin/xfrin/tests/xfrin_test.py
==============================================================================
--- branches/trac185/src/bin/xfrin/tests/xfrin_test.py (original)
+++ branches/trac185/src/bin/xfrin/tests/xfrin_test.py Fri May 28 06:59:05 2010
@@ -438,7 +438,8 @@
 
     def test_parse_cmd_params_bad_ip4(self):
         self.args['master'] = '3.3.3'
-        self.assertRaises(XfrinException, self._do_parse)
+        # There should be no exception 
+        self._do_parse()
 
     def test_parse_cmd_params_bad_ip6(self):
         self.args['master'] = '1::1::1'
@@ -449,7 +450,8 @@
         self.assertRaises(XfrinException, self._do_parse)
 
         self.args['port'] = '65536'
-        self.assertRaises(XfrinException, self._do_parse)
+        # There should be no exception 
+        self._do_parse()
 
         self.args['port'] = 'http'
         self.assertRaises(XfrinException, self._do_parse)




More information about the bind10-changes mailing list