()
| 118 | |
| 119 | |
| 120 | def test_queryparam_merge(): |
| 121 | q = httpx.QueryParams("a=123") |
| 122 | q = q.merge({"b": "456"}) |
| 123 | assert q == httpx.QueryParams("a=123&b=456") |
| 124 | q = q.merge({"a": "000", "c": "789"}) |
| 125 | assert q == httpx.QueryParams("a=000&b=456&c=789") |
| 126 | |
| 127 | |
| 128 | def test_queryparams_are_hashable(): |