diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-10-25 08:18:39 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-10-25 08:18:39 +1300 |
commit | 5aadf92767614b7bd8e2ef677085410ac359e5e8 (patch) | |
tree | 560778bba2ac6a2e6cc7a0b69bb042987ef67435 /test/test_pathoc.py | |
parent | 3de68da3adf15f445e40412fdde4b94857640166 (diff) | |
download | mitmproxy-5aadf92767614b7bd8e2ef677085410ac359e5e8.tar.gz mitmproxy-5aadf92767614b7bd8e2ef677085410ac359e5e8.tar.bz2 mitmproxy-5aadf92767614b7bd8e2ef677085410ac359e5e8.zip |
Nicer way to specify patterns read for file - just use a path
Diffstat (limited to 'test/test_pathoc.py')
-rw-r--r-- | test/test_pathoc.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py index fe7adc4d..5172d85f 100644 --- a/test/test_pathoc.py +++ b/test/test_pathoc.py @@ -139,11 +139,6 @@ class TestDaemon(_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], showreq=True) - assert "File" in self.tval(["+/nonexistent"]) - def test_connect_fail(self): to = ("foobar", 80) c = pathoc.Pathoc(("127.0.0.1", self.d.port)) |