'When a connection is accepted over IPv6, the server
L{ITransport.getHost} method returns an L{IPv6Address} giving the
address on which the server accepted the connection, including the scope
identifier.'

def test_serverGetHostOnIPv6ScopeID(self):

    interface = getLinkLocalIPv6Address()
    client = createTestSocket(self, socket.AF_INET6, socket.SOCK_STREAM)
    hostAddress = self._serverGetConnectionAddressTest(client, interface, 'getHost')
    self.assertEqual(IPv6Address('TCP', *client.getpeername()[:2]), hostAddress)
