aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_wsgi.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-05-27 11:18:54 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-05-27 11:19:11 +0200
commite3d390e036430b9d7cc4b93679229fe118eb583a (patch)
tree1f10a2a59c8abef4bd24c8189d14602264b20fad /test/test_wsgi.py
parentf7b75ba8c21c66e38da81adf3b2c573b7dae87f3 (diff)
downloadmitmproxy-e3d390e036430b9d7cc4b93679229fe118eb583a.tar.gz
mitmproxy-e3d390e036430b9d7cc4b93679229fe118eb583a.tar.bz2
mitmproxy-e3d390e036430b9d7cc4b93679229fe118eb583a.zip
cleanup code with autopep8
run the following command: $ autopep8 -i -r -a -a .
Diffstat (limited to 'test/test_wsgi.py')
-rw-r--r--test/test_wsgi.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_wsgi.py b/test/test_wsgi.py
index 1c8c5263..68a47769 100644
--- a/test/test_wsgi.py
+++ b/test/test_wsgi.py
@@ -1,4 +1,5 @@
-import cStringIO, sys
+import cStringIO
+import sys
from netlib import wsgi, odict
@@ -10,6 +11,7 @@ def tflow():
class TestApp:
+
def __init__(self):
self.called = False
@@ -22,6 +24,7 @@ class TestApp:
class TestWSGI:
+
def test_make_environ(self):
w = wsgi.WSGIAdaptor(None, "foo", 80, "version")
tf = tflow()