aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_netstring.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-08-04 10:34:34 +1200
committerAldo Cortesi <aldo@nullcube.com>2011-08-04 10:34:34 +1200
commitb51aac8a865984b65a84c0da3cb155cb3fbb6875 (patch)
treefedd15b450419b8581ec985d8a7a2a7736fe9b99 /test/test_netstring.py
parent730c78ac53672c4ef2f3d1067aa50e8adeee7f24 (diff)
downloadmitmproxy-b51aac8a865984b65a84c0da3cb155cb3fbb6875.tar.gz
mitmproxy-b51aac8a865984b65a84c0da3cb155cb3fbb6875.tar.bz2
mitmproxy-b51aac8a865984b65a84c0da3cb155cb3fbb6875.zip
Code cleanliness - appease pychecker.
Diffstat (limited to 'test/test_netstring.py')
-rw-r--r--test/test_netstring.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_netstring.py b/test/test_netstring.py
index 3c56acd9..5c4f775a 100644
--- a/test/test_netstring.py
+++ b/test/test_netstring.py
@@ -9,10 +9,10 @@ class uNetstring(libpry.AutoTree):
self.encoded_data = "9:Netstring,6:module,2:by,4:Will,7:McGugan,"
def test_header(self):
- tests = [ ("netstring", "9:"),
+ t = [ ("netstring", "9:"),
("Will McGugan", "12:"),
("", "0:") ]
- for test, result in tests:
+ for test, result in t:
assert netstring.header(test) == result
def test_file_encoder(self):