def _translateAddress(self, host, port):
        if host in self._hostToFakeIP:
            host = self._hostToFakeIP[host]
        if (host, port) in self._fakeIPToReal:
            return self._fakeIPToReal[(host, port)]
        # this happens because we aren't intermediating the transport itself,
        # and q2q is determining what IPs and ports to connect to via
        # transport.getHost().port.  this should be fixed by getting rid of
        # this fixture entirely and going with proto_helpers...
        return host, port
Translate a potentially fake host and port into a real host and port.
dataset/ETHPy150Open twisted/vertex/vertex/test/test_q2q.py/FakeConnectTCP._translateAddress