aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_app.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_app.py')
-rw-r--r--test/test_app.py7
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