Function
test_url_copywith_query
tests/models/test_url.py:635–640
· tests/models/test_url.py::test_url_copywith_query
()
Source from the content-addressed store, hash-verified
| 633 | |
| 634 | |
| 635 | def test_url_copywith_query(): |
| 636 | url = httpx.URL(class="st">"https://example.org") |
| 637 | url = url.copy_with(query=bclass="st">"a=123") |
| 638 | assert url.path == class="st">"/" |
| 639 | assert url.query == bclass="st">"a=123" |
| 640 | assert url.raw_path == bclass="st">"/?a=123" |
| 641 | |
| 642 | |
| 643 | def test_url_copywith_raw_path(): |
Callers
nothing calls this directly
Tested by
no test coverage detected