()
| 105 | |
| 106 | |
| 107 | def test_extra_headers_stash_roundtrip_and_isolation(): |
| 108 | set_extra_headers({"A": "1"}) |
| 109 | got = get_extra_headers() |
| 110 | assert got == {"A": "1"} |
| 111 | # Mutating the returned copy must not affect the stash. |
| 112 | got["B"] = "2" |
| 113 | assert get_extra_headers() == {"A": "1"} |
| 114 | set_extra_headers({}) |
| 115 | assert get_extra_headers() == {} |
| 116 | |
| 117 | |
| 118 | # --- timeout ----------------------------------------------------------------- |
nothing calls this directly
no test coverage detected