def test_notifyRemote_two_connection_failures(self):
        self.assertFalse(self.endpoint.connected)
        self.endpoint.fail = True
        d1 = self.factory.notifyRemote('spam')
        d2 = self.factory.notifyRemote('spam')
        self.assertEqual(len(self.flushLoggedErrors(FakeError)), 2)
        self.successResultOf(defer.gatherResults([
            self.assertFailure(d1, FakeError),
            self.assertFailure(d2, FakeError),
        ]))
In the case of two synchronous connection failures, both notifyRemote
dataset/ETHPy150Open flowroute/txjason/txjason/tests/test_netstring.py/ClientTestCase.test_notifyRemote_two_connection_failures