()
| 319 | |
| 320 | |
| 321 | def test_mutable_headers_from_scope() -> None: |
| 322 | # "headers" in scope must not necessarily be a list |
| 323 | h = MutableHeaders(scope={"headers": ((b"a", b"1"),)}) |
| 324 | assert dict(h) == {"a": "1"} |
| 325 | h.update({"b": "2"}) |
| 326 | assert dict(h) == {"a": "1", "b": "2"} |
| 327 | assert list(h.items()) == [("a", "1"), ("b", "2")] |
| 328 | assert list(h.raw) == [(b"a", b"1"), (b"b", b"2")] |
| 329 | |
| 330 | |
| 331 | def test_url_blank_params() -> None: |
nothing calls this directly
no test coverage detected