def test_connectionLostDone(self):
        self.setUpState('connected')

        # Connection closed by other party.
        self.api.protocol.connectionLost(failure.Failure(ResponseDone()))
        self.clock.advance(0)

        # A reconnect is attempted, but not before the back off delay.
        self.assertEqual(1, len(self.api.filterCalls))
        self.clock.advance(1)
        self.assertEqual(1, len(self.api.filterCalls))
        self.clock.advance(DELAY_INITIAL - 1)
        self.assertEqual(2, len(self.api.filterCalls))
Testing Polygon objects.
dataset/ETHPy150Open dustin/twitty-twister/twittytwister/test/test_twitter.py/TwitterMonitorTest.test_connectionLostDone--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/contrib/gis/tests/test_gdal_geom.py/OGRGeomTest.test07a_polygons