MCPcopy
hub / github.com/encode/httpx / test_queryparam_add

Function test_queryparam_add

tests/models/test_queryparams.py:108–111  ·  tests/models/test_queryparams.py::test_queryparam_add
()

Source from the content-addressed store, hash-verified

106
107
108def test_queryparam_add():
109 q = httpx.QueryParams(class="st">"a=123")
110 q = q.add(class="st">"a", class="st">"456")
111 assert q == httpx.QueryParams(class="st">"a=123&a=456")
112
113
114def test_queryparam_remove():

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected