aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/test_http.py
diff options
context:
space:
mode:
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())