diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-22 23:37:46 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-22 23:37:46 +1200 |
commit | 1b03fd6780f69f1d1f460868d5592587cb0c9c50 (patch) | |
tree | 13a588c54e0ed2992963abab2fa15b872ac61606 /test/test_pathod.py | |
parent | 33208b87205e08b97af07ed6a55c999990a1b8dc (diff) | |
download | mitmproxy-1b03fd6780f69f1d1f460868d5592587cb0c9c50.tar.gz mitmproxy-1b03fd6780f69f1d1f460868d5592587cb0c9c50.tar.bz2 mitmproxy-1b03fd6780f69f1d1f460868d5592587cb0c9c50.zip |
Allow execution of specs from file, using +./path
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r-- | test/test_pathod.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py index 4a8d90d5..d917e25c 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -121,6 +121,10 @@ class _DaemonTests: assert l["type"] == "error" assert "Invalid" in l["msg"] + def test_access_denied(self): + rsp = self.get("=nonexistent") + assert rsp.status_code == 800 + class TestDaemon(_DaemonTests): SSL = False |