mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 12:25:00 +08:00
adjust tests
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user