diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-02-25 12:19:54 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-02-25 12:19:54 +1300 |
commit | 986a41d1806eba2ad3d3746c9163cff9502b9482 (patch) | |
tree | a6d2fb25fb16876522c0275b90a8695039a0721d /test/test_proxy.py | |
parent | bcda65e45371b15fc57783c3d579492626d1d8ed (diff) | |
download | mitmproxy-986a41d1806eba2ad3d3746c9163cff9502b9482.tar.gz mitmproxy-986a41d1806eba2ad3d3746c9163cff9502b9482.tar.bz2 mitmproxy-986a41d1806eba2ad3d3746c9163cff9502b9482.zip |
Unit test++.
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r-- | test/test_proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py index 22bcb6d4..fccef977 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -24,6 +24,7 @@ class u_read_chunked(libpry.AutoTree): class Dummy: pass + class u_read_http_body(libpry.AutoTree): def test_all(self): @@ -42,7 +43,6 @@ class u_read_http_body(libpry.AutoTree): s = cStringIO.StringIO("testing") libpry.raises(proxy.ProxyError, proxy.read_http_body, s, d, h, False, 4) - h = flow.ODict() s = cStringIO.StringIO("testing") assert len(proxy.read_http_body(s, d, h, True, 4)) == 4 |