aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pathoc.py')
-rw-r--r--test/test_pathoc.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py
index 310d75f6..784e2ee3 100644
--- a/test/test_pathoc.py
+++ b/test/test_pathoc.py
@@ -41,3 +41,8 @@ class TestDaemon:
def test_conn_err(self):
assert "Invalid server response" in self.tval(["get:'/p/200:d2'"])
+
+ def test_fileread(self):
+ d = tutils.test_data.path("data/request")
+ assert "foo" in self.tval(["+%s"%d])
+ assert "File" in self.tval(["+/nonexistent"])