diff options
Diffstat (limited to 'test/test_pathoc.py')
-rw-r--r-- | test/test_pathoc.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py index c22fd4f8..ca25be58 100644 --- a/test/test_pathoc.py +++ b/test/test_pathoc.py @@ -65,6 +65,10 @@ class TestDaemon: assert "Invalid headers" in v assert "HTTP/" in v + def test_explain(self): + reqs = [ "get:/p/200:b@100" ] + assert not "b@100" in self.tval(reqs, explain=True) + def test_showreq(self): reqs = [ "get:/api/info:p0,0", "get:/api/info:p0,0" ] assert self.tval(reqs, showreq=True).count("unprintables escaped") == 2 |