aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_wsgi.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-15 10:28:17 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-15 10:28:17 +1200
commit0c85c72dc43d0d017e2bf5af9c2def46968d0499 (patch)
treeab361a7c2972e666f9e565c02bc83a9348bec7aa /test/test_wsgi.py
parentaeebf31927eb3ff74824525005c7b146024de6d5 (diff)
downloadmitmproxy-0c85c72dc43d0d017e2bf5af9c2def46968d0499.tar.gz
mitmproxy-0c85c72dc43d0d017e2bf5af9c2def46968d0499.tar.bz2
mitmproxy-0c85c72dc43d0d017e2bf5af9c2def46968d0499.zip
ODict improvements
- Setting values now tries to preserve the existing order, rather than just appending to the end. - __repr__ now returns a repr of the tuple list. The old repr becomes a .format() method. This is clearer, makes troubleshooting easier, and doesn't assume all data in ODicts are header-like
Diffstat (limited to 'test/test_wsgi.py')
-rw-r--r--test/test_wsgi.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_wsgi.py b/test/test_wsgi.py
index 6e1fb146..1c8c5263 100644
--- a/test/test_wsgi.py
+++ b/test/test_wsgi.py
@@ -100,4 +100,3 @@ class TestWSGI:
start_response(status, response_headers, ei)
yield "bbb"
assert "Internal Server Error" in self._serve(app)
-