diff options
Diffstat (limited to 'test/test_app.py')
-rw-r--r-- | test/test_app.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_app.py b/test/test_app.py index b0d730af..8070996f 100644 --- a/test/test_app.py +++ b/test/test_app.py @@ -38,6 +38,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<foo")) + assert r.status_code == 200 + assert 'File access is disabled' in r.content + def test_request_preview(self): r = self.getpath("/request_preview", params=dict(spec="get:/")) assert r.status_code == 200 |