def test_stopServiceWaiting(self):
        self.setUpState('waiting')

        # Stop the service.
        self.monitor.stopService()

        # No reconnect should be attempted.
        self.clock.advance(DELAY_INITIAL)
        self.assertEqual(1, len(self.api.filterCalls))
Stopping the service while waiting to reconnect should abort.
dataset/ETHPy150Open dustin/twitty-twister/twittytwister/test/test_twitter.py/TwitterMonitorTest.test_stopServiceWaiting