diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-20 14:03:32 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-20 14:03:32 +1300 |
commit | aa161945180cdd078317e8679eaffe383b72304b (patch) | |
tree | aad9e80f8eca0b54584d6daef00be7fcf6b19f14 /test | |
parent | 7ddba22f515aa8997da0b5ee36c8ebc9961493dd (diff) | |
download | mitmproxy-aa161945180cdd078317e8679eaffe383b72304b.tar.gz mitmproxy-aa161945180cdd078317e8679eaffe383b72304b.tar.bz2 mitmproxy-aa161945180cdd078317e8679eaffe383b72304b.zip |
Clean up and strip down netstrings module.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_netstring.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test_netstring.py b/test/test_netstring.py index efcfd83f..5146d150 100644 --- a/test/test_netstring.py +++ b/test/test_netstring.py @@ -16,13 +16,6 @@ class uNetstring(libpry.AutoTree): for test, result in tests: assert netstring.header(test) == result - def test_encode(self): - tests = [ ("netstring", "9:netstring,"), - ("Will McGugan", "12:Will McGugan,"), - ("", "0:,") ] - for test, result in tests: - assert netstring.encode(test) == result - def test_file_encoder(self): file_out = StringIO() data = self.test_data.split() |