diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-06-05 11:42:06 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-06-05 11:42:06 +1200 |
commit | 4ca62e0d9bd09aa286cde9bafceff7204304d00c (patch) | |
tree | 1564f7d50548779ed38f4866fa33bcadc42c412f /test/test_tcp.py | |
parent | 113c5c187f0c37ce0c13c399248f4bf91e3a3149 (diff) | |
download | mitmproxy-4ca62e0d9bd09aa286cde9bafceff7204304d00c.tar.gz mitmproxy-4ca62e0d9bd09aa286cde9bafceff7204304d00c.tar.bz2 mitmproxy-4ca62e0d9bd09aa286cde9bafceff7204304d00c.zip |
tcp: clear_log to clear socket logs
Diffstat (limited to 'test/test_tcp.py')
-rw-r--r-- | test/test_tcp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_tcp.py b/test/test_tcp.py index 14ba555d..362ba0f4 100644 --- a/test/test_tcp.py +++ b/test/test_tcp.py @@ -553,6 +553,8 @@ class TestFileLike: assert s.get_log() == "" s.read(1) assert s.get_log() == "o" + s.clear_log() + assert s.get_log() == "" s.stop_log() tutils.raises(ValueError, s.get_log) |