diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-05-30 12:03:13 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-05-30 12:03:13 +1200 |
commit | 4ed5043c67848bf717e48bc509d959422c8faeb6 (patch) | |
tree | 92abe731c72d34bf6b43cbe1ecb46939953a6860 /test/test_app.py | |
parent | 904760c6c2927caf49b7cbe4027dd1c8dd8e9fdb (diff) | |
download | mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.tar.gz mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.tar.bz2 mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.zip |
Add coding style check, reformat.
Diffstat (limited to 'test/test_app.py')
-rw-r--r-- | test/test_app.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test_app.py b/test/test_app.py index 7c7ac730..4536db8e 100644 --- a/test/test_app.py +++ b/test/test_app.py @@ -29,7 +29,7 @@ class TestApp(tutils.DaemonTests): assert self.get("200:da").status_code == 200 id = self.d.log()[0]["id"] assert self.getpath("/log").status_code == 200 - assert self.getpath("/log/%s"%id).status_code == 200 + assert self.getpath("/log/%s" % id).status_code == 200 assert self.getpath("/log/9999999").status_code == 404 def test_log_binary(self): @@ -52,7 +52,10 @@ class TestApp(tutils.DaemonTests): assert r.status_code == 200 assert 'Response' in r.content - r = self.getpath("/response_preview", params=dict(spec="200:b<nonexistent")) + r = self.getpath( + "/response_preview", + params=dict( + spec="200:b<nonexistent")) assert r.status_code == 200 assert 'File access denied' in r.content |