diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-04-12 01:22:44 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2020-04-12 01:50:34 +0200 |
commit | 8cd5e2d25b6db818518c195af9fcaa62bc46a63a (patch) | |
tree | 0a5051d24804c452a41e0bec3fa99416afee5661 /test/mitmproxy/test_http.py | |
parent | d1cb0dbec5dc430d5293719bac11749c79699e24 (diff) | |
download | mitmproxy-8cd5e2d25b6db818518c195af9fcaa62bc46a63a.tar.gz mitmproxy-8cd5e2d25b6db818518c195af9fcaa62bc46a63a.tar.bz2 mitmproxy-8cd5e2d25b6db818518c195af9fcaa62bc46a63a.zip |
lint, mypy, tests++
Diffstat (limited to 'test/mitmproxy/test_http.py')
-rw-r--r-- | test/mitmproxy/test_http.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/mitmproxy/test_http.py b/test/mitmproxy/test_http.py index 8a299d8e..6526b56a 100644 --- a/test/mitmproxy/test_http.py +++ b/test/mitmproxy/test_http.py @@ -254,6 +254,10 @@ class TestHTTPFlow: f.response.decode() assert f.response.raw_content == b"abarb" + def test_timestamp_start(self): + f = tflow.tflow() + assert f.timestamp_start == f.request.timestamp_start + def test_make_error_response(): resp = http.make_error_response(543, 'foobar', Headers()) |