# the XfroutSession object. We check the condition here.
self.assertEqual(0, self.xfrsess._server.transfer_counter)
# clear statistics counters
- self.xfrsess._counters.clear_counters()
+ self.xfrsess._counters.clear_all()
class TestXfroutSession(TestXfroutSessionBase):
def test_quota_error(self):
super,
self.orig_process_request,
self.orig_select )
- self.unix._counters.clear_counters()
+ self.unix._counters.clear_all()
def test_open(self):
# open
com_ch_info.notify_slaves.append(('1.1.1.1', 5353))
def tearDown(self):
- self._notify._counters.clear_counters()
+ self._notify._counters.clear_all()
def test_send_notify(self):
notify_out._MAX_NOTIFY_NUM = 2