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.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py
index 072d5623..0936fce3 100644
--- a/test/test_pathod.py
+++ b/test/test_pathod.py
@@ -143,6 +143,10 @@ class CommonTests(tutils.DaemonTests):
assert rsp.status_code == 800
assert "File access denied" in rsp.content
+ def test_proxy(self):
+ v = self.pathoc(r"get:'http://foo.com/p/202':da")
+ assert v[1] == 202
+
class TestDaemon(CommonTests):
ssl = False