def test_invalidNetworkProtocol(self):
        self.assertRaises(
            InvalidNetworkProtocol,
            _v1parser.V1Parser.parse,
            b'PROXY WUTPROTO ',
        )
Test that an exception is raised when the proto is not TCP or UNKNOWN.
dataset/ETHPy150Open twisted/twisted/twisted/protocols/haproxy/test/test_v1parser.py/V1ParserTests.test_invalidNetworkProtocol