aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-08-24 14:22:11 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-08-24 14:22:11 +0200
commitb97b1f17cf1f61b75682ae902f8bdea5fb85763c (patch)
treecbb9d0248f2dd88c242652a047edd6f10de320f2 /test
parente4d6089f9a7dd04b2a4ae3038105f86622218444 (diff)
downloadmitmproxy-b97b1f17cf1f61b75682ae902f8bdea5fb85763c.tar.gz
mitmproxy-b97b1f17cf1f61b75682ae902f8bdea5fb85763c.tar.bz2
mitmproxy-b97b1f17cf1f61b75682ae902f8bdea5fb85763c.zip
fix #328
Diffstat (limited to 'test')
-rw-r--r--test/test_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_server.py b/test/test_server.py
index fea6791d..017faacb 100644
--- a/test/test_server.py
+++ b/test/test_server.py
@@ -338,9 +338,9 @@ class MasterRedirectRequest(tservers.TestMaster):
request.set_url(new)
request.set_url(new)
- request.flow.change_server(("127.0.0.1", self.redirect_port), False)
+ request.flow.live.change_server(("127.0.0.1", self.redirect_port), False)
request.set_url(url)
- tutils.raises("SSL handshake error", request.flow.change_server, ("127.0.0.1", self.redirect_port), True)
+ tutils.raises("SSL handshake error", request.flow.live.change_server, ("127.0.0.1", self.redirect_port), True)
request.set_url(new)
request.set_url(url)
request.set_url(new)