diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-05-28 17:45:54 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-05-29 11:42:46 +0200 |
commit | bdb62101bbbd4babc3099dd71424f85676866161 (patch) | |
tree | 54552ee564302b872ec2f7d155b70afb41b0ce18 | |
parent | e805f2d06609a297391e4486f9a8e5394bac5435 (diff) | |
download | mitmproxy-bdb62101bbbd4babc3099dd71424f85676866161.tar.gz mitmproxy-bdb62101bbbd4babc3099dd71424f85676866161.tar.bz2 mitmproxy-bdb62101bbbd4babc3099dd71424f85676866161.zip |
test Address __str__
-rw-r--r-- | test/test_tcp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_tcp.py b/test/test_tcp.py index ef00e029..2bf492fa 100644 --- a/test/test_tcp.py +++ b/test/test_tcp.py @@ -603,6 +603,7 @@ class TestAddress: assert a.use_ipv6 b = tcp.Address("foo.com", True) assert not a == b + assert str(b) == str(tuple("foo.com")) c = tcp.Address("localhost", True) assert a == c assert not a != c |