From 5b69087a194ac14bbd9149784a84e493c3300b39 Mon Sep 17 00:00:00 2001 From: Manuel Meitinger Date: Mon, 11 Apr 2022 01:42:46 +0200 Subject: [PATCH] [dns] coverage response codes --- test/mitmproxy/net/dns/test_response_codes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/mitmproxy/net/dns/test_response_codes.py b/test/mitmproxy/net/dns/test_response_codes.py index 1392a881c..c90bec3f7 100644 --- a/test/mitmproxy/net/dns/test_response_codes.py +++ b/test/mitmproxy/net/dns/test_response_codes.py @@ -5,3 +5,4 @@ def test_simple(): assert response_codes.NOERROR == 0 assert response_codes.str(response_codes.NOERROR) == "NOERROR" assert response_codes.str(100) == "RCODE(100)" + assert response_codes.http_equiv_status_code(response_codes.NOERROR) == 200