(self)
| 136 | assert h1.getlist("header2") == [b"value2", b"value3"] |
| 137 | |
| 138 | def test_none_value(self): |
| 139 | h1 = Headers() |
| 140 | h1["foo"] = "bar" |
| 141 | h1["foo"] = None |
| 142 | h1.setdefault("foo", "bar") |
| 143 | assert h1.get("foo") is None |
| 144 | assert h1.getlist("foo") == [] |
| 145 | |
| 146 | def test_int_value(self): |
| 147 | h1 = Headers({"hey": 5}) |
nothing calls this directly
no test coverage detected