diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_server.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test_server.py b/test/test_server.py index 4b8c796c..21d01f5a 100644 --- a/test/test_server.py +++ b/test/test_server.py @@ -108,13 +108,6 @@ class TestHTTP(tservers.HTTPProxTest, CommonMixin, AppMixin): assert p.request(req) assert p.request(req) - def test_proxy_ioerror(self): - # Tests a difficult-to-trigger condition, where an IOError is raised - # within our read loop. - with mock.patch("libmproxy.protocol.http.HTTPRequest.from_stream") as m: - m.side_effect = IOError("error!") - tutils.raises("server disconnect", self.pathod, "304") - def test_get_connection_switching(self): def switched(l): for i in l: |