'If the resolver is ipv6, open a ipv6 port.'

def test_ipv6Resolver(self):

    fake = test_util.MemoryReactor()
    resolver = client.Resolver(servers=[('::1', 53)], reactor=fake)
    resolver.query(dns.Query('foo.example.com'))
    [(proto, transport)] = fake.udpPorts.items()
    interface = transport.getHost().host
    self.assertEqual('::', interface)
