def test_fullParsingSuccess_IPv6(self):
        info = _v1parser.V1Parser.parse(
            b'PROXY TCP6 ::1 ::1 8080 8888',
        )
        self.assertTrue(isinstance(info.source, address.IPv6Address))
        self.assertEqual(info.source.host, b'::1')
        self.assertEqual(info.source.port, 8080)
        self.assertEqual(info.destination.host, b'::1')
        self.assertEqual(info.destination.port, 8888)
Test that parsing is successful for an IPv6 PROXY header.
dataset/ETHPy150Open twisted/twisted/twisted/protocols/haproxy/test/test_v1parser.py/V1ParserTests.test_fullParsingSuccess_IPv6