[svn] commit: r3355 - /branches/trac376/src/bin/xfrin/tests/xfrin_test.py

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Oct 26 08:54:59 UTC 2010


Author: jelte
Date: Tue Oct 26 08:54:58 2010
New Revision: 3355

Log:
updated MockXfrin class to print less errors (there is still some unnecessary verbosity here, but at least not all those stacktraces)
(this is an extra fix which is not really part of this ticket, but I figured I might as well fix this)

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

Modified: branches/trac376/src/bin/xfrin/tests/xfrin_test.py
==============================================================================
--- branches/trac376/src/bin/xfrin/tests/xfrin_test.py (original)
+++ branches/trac376/src/bin/xfrin/tests/xfrin_test.py Tue Oct 26 08:54:58 2010
@@ -61,6 +61,17 @@
     # See the TestMain class.
     check_command_hook = None
 
+    def __init__(self, verbose = False):
+        self._max_transfers_in = 10
+        self._master_addr = DEFAULT_MASTER
+        self._master_port = DEFAULT_MASTER_PORT
+        self.recorder = XfrinRecorder()
+        self._shutdown_event = threading.Event()
+        self._verbose = False
+
+    def publish_xfrin_news(self, zone_name, rrclass, ret):
+        pass
+
     def _cc_setup(self):
         pass
 




More information about the bind10-changes mailing list