aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/test_http.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2020-04-18 19:46:11 +0200
committerGitHub <noreply@github.com>2020-04-18 19:46:11 +0200
commit2774928319b706d8b6f85919f8811776342986c9 (patch)
tree5abef13928c30918d143db480190c2bfb5df1e9c /test/mitmproxy/test_http.py
parent408c9a6ff37a90c90cff381cce748e03c45f085d (diff)
parent8cd5e2d25b6db818518c195af9fcaa62bc46a63a (diff)
downloadmitmproxy-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.py4
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())