diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-25 21:11:44 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-25 21:11:44 +1300 |
commit | 8cade9fbbf15480fd5b9f7410d65c928dd26f652 (patch) | |
tree | fce913f5bf003f8132d23a0a460bb8f48a4db8dc /test/test_proxy.py | |
parent | 3792b0084ea25e49a1a20783b6ce387fc04fc6a8 (diff) | |
download | mitmproxy-8cade9fbbf15480fd5b9f7410d65c928dd26f652.tar.gz mitmproxy-8cade9fbbf15480fd5b9f7410d65c928dd26f652.tar.bz2 mitmproxy-8cade9fbbf15480fd5b9f7410d65c928dd26f652.zip |
Move stringification funcs from proxy to dump.
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r-- | test/test_proxy.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py index 0c05aeb2..8a59cf0b 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -218,7 +218,6 @@ class uRequest(libpry.AutoTree): assert r.set_url(u) assert not r.set_url("") assert r.url() == u - assert r.short() assert r.assemble() def test_getset_state(self): @@ -246,7 +245,6 @@ class uResponse(libpry.AutoTree): c = proxy.ClientConnect(("addr", 2222)) req = proxy.Request(c, "host", 22, "https", "GET", "/", h, "content") resp = proxy.Response(req, 200, "msg", h.copy(), "content") - assert resp.short() assert resp.assemble() def test_getset_state(self): |