diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 02:14:14 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 02:14:14 +0200 |
commit | dad9f06cb9403ac88d31d0ba8422034df2bc5078 (patch) | |
tree | d69ea509a4cfd9549f4a602966bd9309f8853b3c /test/test_utils.py | |
parent | e1659f3fcf83b5993b776a4ef3d2de70fbe27aa2 (diff) | |
download | mitmproxy-dad9f06cb9403ac88d31d0ba8422034df2bc5078.tar.gz mitmproxy-dad9f06cb9403ac88d31d0ba8422034df2bc5078.tar.bz2 mitmproxy-dad9f06cb9403ac88d31d0ba8422034df2bc5078.zip |
organize exceptions, improve content-length handling
Diffstat (limited to 'test/test_utils.py')
-rw-r--r-- | test/test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 8b2ddae4..eb7aa31a 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -14,7 +14,7 @@ def test_hexdump(): assert utils.hexdump("one\0" * 10) -def test_cleanBin(): +def test_clean_bin(): assert utils.clean_bin(b"one") == b"one" assert utils.clean_bin(b"\00ne") == b".ne" assert utils.clean_bin(b"\nne") == b"\nne" |