diff options
author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-07-10 01:08:02 +0530 |
---|---|---|
committer | Shadab Zafar <dufferzafar0@gmail.com> | 2016-07-10 01:08:02 +0530 |
commit | 7eade1ef7c24b98567c1657973290aa5377b2719 (patch) | |
tree | 8f80fc3bc2ce16e140bac485790ff6b270f5f9c2 /test | |
parent | 39f51084003b93a2e9868f7a56acfc29c12ed79e (diff) | |
download | mitmproxy-7eade1ef7c24b98567c1657973290aa5377b2719.tar.gz mitmproxy-7eade1ef7c24b98567c1657973290aa5377b2719.tar.bz2 mitmproxy-7eade1ef7c24b98567c1657973290aa5377b2719.zip |
Remove redundant tests
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/test_flow.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/mitmproxy/test_flow.py b/test/mitmproxy/test_flow.py index c0d9155f..74b3f599 100644 --- a/test/mitmproxy/test_flow.py +++ b/test/mitmproxy/test_flow.py @@ -113,18 +113,6 @@ class TestStickyCookieState: s.handle_response(f) assert not s.jar.keys() - # or by setting Max-Age to 0 - s, f = self._response(*c) - f.response.headers["Set-Cookie"] = "duffer=; Max-Age=0" - s.handle_response(f) - assert not s.jar.keys() - - # or both - s, f = self._response(*c) - f.response.headers["Set-Cookie"] = "duffer=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0" - s.handle_response(f) - assert not s.jar.keys() - def test_request(self): s, f = self._response("SSID=mooo", b"www.google.com") assert "cookie" not in f.request.headers |