aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathod.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r--test/test_pathod.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py
index fae00ec2..0adba8e6 100644
--- a/test/test_pathod.py
+++ b/test/test_pathod.py
@@ -85,6 +85,11 @@ class CommonTests(tutils.DaemonTests):
rsp = self.get("=nonexistent")
assert rsp.status_code == 800
+ def test_source_access_denied(self):
+ rsp = self.get("200:b</foo")
+ assert rsp.status_code == 800
+ assert "Access Denied" in rsp.content
+
class TestDaemon(CommonTests):
SSL = False