mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 10:26:23 +00:00
7 lines
148 B
Python
7 lines
148 B
Python
from netlib.http.exceptions import *
|
|
|
|
class TestHttpError:
|
|
def test_simple(self):
|
|
e = HttpError(404, "Not found")
|
|
assert str(e)
|