diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-04-18 19:46:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 19:46:11 +0200 |
commit | 2774928319b706d8b6f85919f8811776342986c9 (patch) | |
tree | 5abef13928c30918d143db480190c2bfb5df1e9c /test/mitmproxy/test_http.py | |
parent | 408c9a6ff37a90c90cff381cce748e03c45f085d (diff) | |
parent | 8cd5e2d25b6db818518c195af9fcaa62bc46a63a (diff) | |
download | mitmproxy-2774928319b706d8b6f85919f8811776342986c9.tar.gz mitmproxy-2774928319b706d8b6f85919f8811776342986c9.tar.bz2 mitmproxy-2774928319b706d8b6f85919f8811776342986c9.zip |
Merge pull request #3927 from mhils/tcp-ui
add tcp flow ui
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()) |