def tearDown(self):
     # Restore the globals that our tests fiddle with.
     distributionmirror_prober.host_requests = self.orig_host_requests
     distributionmirror_prober.host_timeouts = self.orig_host_timeouts
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(TestProberFactoryRequestTimeoutRatioWithoutTwisted,
           self).tearDown()
 def tearDown(self):
     # Restore the globals that our tests fiddle with.
     distributionmirror_prober.host_requests = self.orig_host_requests
     distributionmirror_prober.host_timeouts = self.orig_host_timeouts
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(
         TestProberFactoryRequestTimeoutRatioWithoutTwisted,
         self).tearDown()
 def tearDown(self):
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(TestLoggingMixin, self).tearDown()
 def tearDown(self):
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(TestProbeFunctionSemaphores, self).tearDown()
 def tearDown(self):
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(TestRedirectAwareProberFactoryAndProtocol, self).tearDown()
 def tearDown(self):
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(TestLoggingMixin, self).tearDown()
 def tearDown(self):
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(TestProbeFunctionSemaphores, self).tearDown()
 def tearDown(self):
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(TestRedirectAwareProberFactoryAndProtocol, self).tearDown()
Пример #9
0
 def tearDown(self):
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(TestSlaveConnectionTimeouts, self).tearDown()
Пример #10
0
 def tearDown(self):
     # We need to remove any DelayedCalls that didn't actually get called.
     clean_up_reactor()
     super(TestSlaveConnectionTimeouts, self).tearDown()