'When a connection is accepted over IPv4, the server
L{ITransport.getHost} method returns an L{IPv4Address} giving the
address on which the server accepted the connection.'

def test_serverGetHostOnIPv4(self):

    interface = '127.0.0.1'
    client = createTestSocket(self, socket.AF_INET, socket.SOCK_STREAM)
    hostAddress = self._serverGetConnectionAddressTest(client, interface, 'getHost')
    self.assertEqual(IPv4Address('TCP', *client.getpeername()), hostAddress)
