diff --git a/test/mitmproxy/test_eventsequence.py b/test/mitmproxy/test_eventsequence.py index 9382a8f44..ac9ebd97e 100644 --- a/test/mitmproxy/test_eventsequence.py +++ b/test/mitmproxy/test_eventsequence.py @@ -100,17 +100,3 @@ def test_dns(resp, err): def test_invalid(): with pytest.raises(TypeError): next(eventsequence.iterate(42)) - - -@pytest.mark.parametrize("err", [False, True]) -def test_udp_flow(err): - f = tflow.tudpflow(err=err) - i = eventsequence.iterate(f) - assert isinstance(next(i), layers.udp.UdpStartHook) - assert isinstance(next(i), layers.udp.UdpMessageHook) - assert len(f.messages) == 1 - assert isinstance(next(i), layers.udp.UdpStartHook) - assert isinstance(next(i), layers.udp.UdpMessageHook) - assert len(f.messages) == 2 - if err: - assert isinstance(next(i), layers.udp.UdpErrorHook)