aboutsummaryrefslogtreecommitdiffstats
path: root/test/http/test_models.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-17 16:31:50 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-17 16:31:50 +0200
commitd798ed955dab4681a5285024b3648b1a3f13c24e (patch)
treea95d96953cd7688451c3a515e4b31f0465d6a7d3 /test/http/test_models.py
parent8d71059d77c2dd1d9858d7971dd0b6b4387ed9f4 (diff)
downloadmitmproxy-d798ed955dab4681a5285024b3648b1a3f13c24e.tar.gz
mitmproxy-d798ed955dab4681a5285024b3648b1a3f13c24e.tar.bz2
mitmproxy-d798ed955dab4681a5285024b3648b1a3f13c24e.zip
python3++
Diffstat (limited to 'test/http/test_models.py')
-rw-r--r--test/http/test_models.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/http/test_models.py b/test/http/test_models.py
index 8fce2e9d..c3ab4d0f 100644
--- a/test/http/test_models.py
+++ b/test/http/test_models.py
@@ -36,8 +36,8 @@ class TestRequest(object):
assert isinstance(req.headers, Headers)
def test_equal(self):
- a = tutils.treq()
- b = tutils.treq()
+ a = tutils.treq(timestamp_start=42, timestamp_end=43)
+ b = tutils.treq(timestamp_start=42, timestamp_end=43)
assert a == b
assert not a == 'foo'
@@ -319,8 +319,8 @@ class TestResponse(object):
assert isinstance(resp.headers, Headers)
def test_equal(self):
- a = tutils.tresp()
- b = tutils.tresp()
+ a = tutils.tresp(timestamp_start=42, timestamp_end=43)
+ b = tutils.tresp(timestamp_start=42, timestamp_end=43)
assert a == b
assert not a == 'foo'