[dns] coverage response codes

This commit is contained in:
Manuel Meitinger 2022-04-11 01:42:46 +02:00
parent 9a55989b25
commit 5b69087a19
1 changed files with 1 additions and 0 deletions

View File

@ -5,3 +5,4 @@ def test_simple():
assert response_codes.NOERROR == 0 assert response_codes.NOERROR == 0
assert response_codes.str(response_codes.NOERROR) == "NOERROR" assert response_codes.str(response_codes.NOERROR) == "NOERROR"
assert response_codes.str(100) == "RCODE(100)" assert response_codes.str(100) == "RCODE(100)"
assert response_codes.http_equiv_status_code(response_codes.NOERROR) == 200