def test_connectDisconnected(self):
        self.setUpState('disconnected')

        # Try to connect.
        self.monitor.connect()
        self.clock.advance(0)
        self.assertEqual(2, len(self.api.filterCalls), 'Missing connect')

        # Now the reconnect occurs, wait for delayed calls.
        self.clock.advance(DELAY_INITIAL)
        self.assertEqual(2, len(self.api.filterCalls), 'Extra connect')
Load tests from the given test case class and create a new reporter to
dataset/ETHPy150Open dustin/twitty-twister/twittytwister/test/test_twitter.py/TwitterMonitorTest.test_connectDisconnected--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_tests.py/ResultsTestMixin.loadSuite