aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_server.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-08-10 16:20:04 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-08-10 16:20:04 +0200
commita193c267f30f75c8b568477cbcc6aa94d3520651 (patch)
treed798401ce7e9a647c6bc4a1be8dd394900ca9f66 /test/test_server.py
parent858b0af0bbcbf3c26e71c0b6e33b5de3a8f31c75 (diff)
downloadmitmproxy-a193c267f30f75c8b568477cbcc6aa94d3520651.tar.gz
mitmproxy-a193c267f30f75c8b568477cbcc6aa94d3520651.tar.bz2
mitmproxy-a193c267f30f75c8b568477cbcc6aa94d3520651.zip
adjust tests
Diffstat (limited to 'test/test_server.py')
-rw-r--r--test/test_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_server.py b/test/test_server.py
index cf50f280..fea6791d 100644
--- a/test/test_server.py
+++ b/test/test_server.py
@@ -480,7 +480,7 @@ class TestKillResponse(tservers.HTTPProxTest):
class EResolver(tservers.TResolver):
def original_addr(self, sock):
- return None
+ raise RuntimeError("Could not resolve original destination.")
class TestTransparentResolveError(tservers.TransparentProxTest):