[svn] commit: r2646 -	/branches/trac216/src/bin/xfrin/tests/xfrin_test.py
    BIND 10 source code commits 
    bind10-changes at lists.isc.org
       
    Fri Aug  6 02:16:09 UTC 2010
    
    
  
Author: shentingting
Date: Fri Aug  6 02:16:08 2010
New Revision: 2646
Log:
change variable name from self._zones to self._threads_zones in xfrin_test.py
Modified:
    branches/trac216/src/bin/xfrin/tests/xfrin_test.py
Modified: branches/trac216/src/bin/xfrin/tests/xfrin_test.py
==============================================================================
--- branches/trac216/src/bin/xfrin/tests/xfrin_test.py (original)
+++ branches/trac216/src/bin/xfrin/tests/xfrin_test.py Fri Aug  6 02:16:08 2010
@@ -439,18 +439,18 @@
 
     def test_command_handler_retransfer_quota(self):
         for i in range(self.xfr._max_transfers_in - 1):
-            self.xfr._zones[str(i) + TEST_ZONE_NAME] = MockThread()
+            self.xfr._threads_zones[str(i) + TEST_ZONE_NAME] = MockThread()
         # there can be one more outstanding transfer.
         self.assertEqual(self.xfr.command_handler("retransfer",
                                                   self.args)['result'][0], 0)
         # make sure the # xfrs would excceed the quota
-        self.xfr._zones[str(self.xfr._max_transfers_in) + TEST_ZONE_NAME] = MockThread()
+        self.xfr._threads_zones[str(self.xfr._max_transfers_in) + TEST_ZONE_NAME] = MockThread()
         # this one should fail
         self.assertEqual(self.xfr.command_handler("retransfer",
                                                   self.args)['result'][0], 1)
 
     def test_command_handler_retransfer_inprogress(self):
-        self.xfr._zones[TEST_ZONE_NAME] = MockThread()
+        self.xfr._threads_zones[TEST_ZONE_NAME] = MockThread()
         self.assertEqual(self.xfr.command_handler("retransfer",
                                                   self.args)['result'][0], 1)
 
    
    
More information about the bind10-changes
mailing list