diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-27 00:49:41 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-27 00:49:41 +0200 |
commit | 23d13e4c1282bc46c54222479c3b83032dad3335 (patch) | |
tree | 051bbe79f815cbdb7b8d2d76ceb0e1e4a31e4dbd /test/http/test_cookies.py | |
parent | 466888b01a361e46fb3d4e66afa2c6a0fd168c8e (diff) | |
download | mitmproxy-23d13e4c1282bc46c54222479c3b83032dad3335.tar.gz mitmproxy-23d13e4c1282bc46c54222479c3b83032dad3335.tar.bz2 mitmproxy-23d13e4c1282bc46c54222479c3b83032dad3335.zip |
test response model, push coverage to 100% branch cov
Diffstat (limited to 'test/http/test_cookies.py')
-rw-r--r-- | test/http/test_cookies.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/http/test_cookies.py b/test/http/test_cookies.py index 413b6241..34bb64f2 100644 --- a/test/http/test_cookies.py +++ b/test/http/test_cookies.py @@ -21,6 +21,7 @@ def test_read_quoted_string(): [(r'"f\\o" x', 0), (r"f\o", 6)], [(r'"f\\" x', 0), (r"f" + '\\', 5)], [('"fo\\\"" x', 0), ("fo\"", 6)], + [('"foo" x', 7), ("", 8)], ] for q, a in tokens: assert cookies._read_quoted_string(*q) == a |