From 20ec502032cc360132ee2e3de72c66f75de33ad8 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Mon, 14 Mar 2016 22:17:12 +0800 Subject: fix tests for "sock_address" --- test/mitmproxy/tutils.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/mitmproxy/tutils.py b/test/mitmproxy/tutils.py index edcdf3e2..99e83247 100644 --- a/test/mitmproxy/tutils.py +++ b/test/mitmproxy/tutils.py @@ -93,6 +93,7 @@ def tserver_conn(): c = ServerConnection.from_state(dict( address=dict(address=("address", 22), use_ipv6=True), source_address=dict(address=("address", 22), use_ipv6=True), + sock_address=None, cert=None, timestamp_start=1, timestamp_tcp_setup=2, -- cgit v1.2.3 From eecadadce3defaeab955310ad77c874ec9aead5e Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Tue, 15 Mar 2016 21:27:25 +0800 Subject: use "peer_address" instead of "sock_address" --- test/mitmproxy/tutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/mitmproxy/tutils.py b/test/mitmproxy/tutils.py index 99e83247..0d65df71 100644 --- a/test/mitmproxy/tutils.py +++ b/test/mitmproxy/tutils.py @@ -93,7 +93,7 @@ def tserver_conn(): c = ServerConnection.from_state(dict( address=dict(address=("address", 22), use_ipv6=True), source_address=dict(address=("address", 22), use_ipv6=True), - sock_address=None, + peer_address=None, cert=None, timestamp_start=1, timestamp_tcp_setup=2, -- cgit v1.2.3