def test_defaultPeerAddress(self):
        address = StringTransport().getPeer()
        self.assertIsInstance(address, IPv4Address)
If no peer address is passed to L{StringTransport.__init__}, an
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_stringtransport.py/StringTransportTests.test_defaultPeerAddress