def test_SRVNoResult(self):
        client.theResolver.results = []
        self.connector.connect()

        self.assertIdentical(None, self.factory.reason)
        self.assertEquals(
            self.reactor.tcpClients.pop()[:2], ('example.org', 'xmpp-server'))
Same as 'has_key', but used for 'in' operator.'
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/names/test/test_srvconnect.py/SRVConnectorTest.test_SRVNoResult--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/urlfetch.py/_CaselessDict.__contains__