diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-06-25 21:31:10 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-06-25 21:31:10 +0200 |
commit | 896e1a5524863b657292807037952ff2d574901b (patch) | |
tree | d41a0d09a514a3e482ab4fad5e81edc06420ce49 /test/test_socks.py | |
parent | e69133f98c513a99c017ad561ea9195280e3f7c5 (diff) | |
download | mitmproxy-896e1a5524863b657292807037952ff2d574901b.tar.gz mitmproxy-896e1a5524863b657292807037952ff2d574901b.tar.bz2 mitmproxy-896e1a5524863b657292807037952ff2d574901b.zip |
fix overly restrictive tests
Diffstat (limited to 'test/test_socks.py')
-rw-r--r-- | test/test_socks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_socks.py b/test/test_socks.py index 4787e309..964678de 100644 --- a/test/test_socks.py +++ b/test/test_socks.py @@ -53,7 +53,7 @@ def test_message_ipv6(): if not hasattr(socket, "inet_ntop"): raise SkipTest("Skipped because inet_ntop is not available") # Test ATYP=0x04 (IPV6) - ipv6_addr = "2001:0db8:85a3:08d3:1319:8a2e:0370:7344" + ipv6_addr = "2001:db8:85a3:8d3:1319:8a2e:370:7344" raw = StringIO("\x05\x01\x00\x04" + socket.inet_pton(socket.AF_INET6, ipv6_addr) + "\xDE\xAD\xBE\xEF") msg = socks.Message.from_file(raw) assert raw.read(2) == "\xBE\xEF" |