aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/netlib/test_utils.py')
-rw-r--r--test/netlib/test_utils.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/netlib/test_utils.py b/test/netlib/test_utils.py
index f9315667..c4ee3c10 100644
--- a/test/netlib/test_utils.py
+++ b/test/netlib/test_utils.py
@@ -38,17 +38,6 @@ def test_pretty_size():
assert utils.pretty_size(1024 * 1024) == "1MB"
-def test_get_header_tokens():
- headers = Headers()
- assert utils.get_header_tokens(headers, "foo") == []
- headers["foo"] = "bar"
- assert utils.get_header_tokens(headers, "foo") == ["bar"]
- headers["foo"] = "bar, voing"
- assert utils.get_header_tokens(headers, "foo") == ["bar", "voing"]
- headers.set_all("foo", ["bar, voing", "oink"])
- assert utils.get_header_tokens(headers, "foo") == ["bar", "voing", "oink"]
-
-
def test_multipartdecode():
boundary = 'somefancyboundary'
headers = Headers(