diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-05-31 19:32:08 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-05-31 19:32:08 +1200 |
commit | b2f63458fcda7878d5cf674c2f1e9ca7db5bf3ce (patch) | |
tree | 639b7e8408a52dc8828f579f324dab065e4b4cb2 /test/pathod/test_utils.py | |
parent | ec34cae6181d6af0150ac730d70b96104a07e9d5 (diff) | |
download | mitmproxy-b2f63458fcda7878d5cf674c2f1e9ca7db5bf3ce.tar.gz mitmproxy-b2f63458fcda7878d5cf674c2f1e9ca7db5bf3ce.tar.bz2 mitmproxy-b2f63458fcda7878d5cf674c2f1e9ca7db5bf3ce.zip |
Move human-friendly format functions to netlib.human, remove redundant implementations
Diffstat (limited to 'test/pathod/test_utils.py')
-rw-r--r-- | test/pathod/test_utils.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/pathod/test_utils.py b/test/pathod/test_utils.py index 8026a576..ab4abbae 100644 --- a/test/pathod/test_utils.py +++ b/test/pathod/test_utils.py @@ -13,13 +13,6 @@ def test_membool(): assert m.v == 2 -def test_parse_size(): - assert utils.parse_size("100") == 100 - assert utils.parse_size("100k") == 100 * 1024 - tutils.raises("invalid size spec", utils.parse_size, "foo") - tutils.raises("invalid size spec", utils.parse_size, "100kk") - - def test_parse_anchor_spec(): assert utils.parse_anchor_spec("foo=200") == ("foo", "200") assert utils.parse_anchor_spec("foo") is None |