aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathod.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-22 15:49:17 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-22 15:49:17 +1200
commit99cb0808abfa3bd5bbc8d19c10756641c032dc48 (patch)
treef93b7a76f878eb17d5ef97787c01202559d70dc2 /test/test_pathod.py
parent65f04bf4d103ea7ab9307946ccc11a17de51d93f (diff)
downloadmitmproxy-99cb0808abfa3bd5bbc8d19c10756641c032dc48.tar.gz
mitmproxy-99cb0808abfa3bd5bbc8d19c10756641c032dc48.tar.bz2
mitmproxy-99cb0808abfa3bd5bbc8d19c10756641c032dc48.zip
websockets: server handshake scheme
Also refactor settings and resolution interfaces
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r--test/test_pathod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py
index c32f6e84..00634e27 100644
--- a/test/test_pathod.py
+++ b/test/test_pathod.py
@@ -13,7 +13,7 @@ class TestPathod(object):
p.clear_log()
assert len(p.get_log()) == 0
- for i in range(p.LOGBUF + 1):
+ for _ in range(p.LOGBUF + 1):
p.add_log(dict(s="foo"))
assert len(p.get_log()) <= p.LOGBUF