def test_connect_failure(self):
        self.endpoint.deferred = defer.Deferred()
        d = self.factory.connect()
        self.assertNoResult(d)
        self.endpoint.deferred.errback(FakeError())
        self.failureResultOf(d, FakeError)
        self.assertEqual(len(self.flushLoggedErrors(FakeError)), 1)
Get cache entry for key, or return None.
dataset/ETHPy150Open flowroute/txjason/txjason/tests/test_netstring.py/ClientTestCase.test_connect_failure--crossover with--dataset/ETHPy150Open jamesturk/scrapelib/scrapelib/cache.py/FileCache.get