mitmproxy/test/netlib/http/test_status_codes.py

7 lines
158 B
Python
Raw Normal View History

2015-09-26 18:07:11 +00:00
from netlib.http import status_codes
def test_simple():
assert status_codes.IM_A_TEAPOT == 418
assert status_codes.RESPONSES[418] == "I'm a teapot"