From 4ed5043c67848bf717e48bc509d959422c8faeb6 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 30 May 2015 12:03:13 +1200 Subject: Add coding style check, reformat. --- test/test_app.py | 7 +++++-- test/test_cmdline.py | 8 +++++--- test/test_language_actions.py | 3 +-- test/test_language_base.py | 4 +--- test/test_language_http.py | 8 +++++--- test/test_pathoc.py | 21 +++++++++++++++++---- test/test_pathod.py | 6 ++++++ test/test_test.py | 19 ++++++++++++------- test/test_utils.py | 5 ++--- test/tutils.py | 12 ++++++------ 10 files changed, 60 insertions(+), 33 deletions(-) (limited to 'test') 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