diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-06-06 13:31:44 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-06-06 13:31:44 -0700 |
commit | 6447c8ae2256b0e074a04307a748d61f990e98d4 (patch) | |
tree | 4a8a236e0ed93cb681b701c55778e4ab93e0eaab /test/pathod/test_language_http.py | |
parent | c973fd881fc4cabb401fdb255b2486b80499442c (diff) | |
download | mitmproxy-6447c8ae2256b0e074a04307a748d61f990e98d4.tar.gz mitmproxy-6447c8ae2256b0e074a04307a748d61f990e98d4.tar.bz2 mitmproxy-6447c8ae2256b0e074a04307a748d61f990e98d4.zip |
fix .freeze(), improve tests
Diffstat (limited to 'test/pathod/test_language_http.py')
-rw-r--r-- | test/pathod/test_language_http.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/pathod/test_language_http.py b/test/pathod/test_language_http.py index 20809fcf..0ef1e109 100644 --- a/test/pathod/test_language_http.py +++ b/test/pathod/test_language_http.py @@ -340,9 +340,7 @@ def test_nested_response(): def test_nested_response_freeze(): e = http.NestedResponse( base.TokValueLiteral( - "200:b'foo':i10,'\\x27'".encode( - "string_escape" - ) + r"200:b\'foo\':i10,\'\\x27\'" ) ) assert e.freeze({}) |