Function
test_url_copywith_invalid_component
tests/models/test_url.py:619–624
· tests/models/test_url.py::test_url_copywith_invalid_component
()
Source from the content-addressed store, hash-verified
| 617 | |
| 618 | |
| 619 | def test_url_copywith_invalid_component(): |
| 620 | url = httpx.URL(class="st">"https://example.org") |
| 621 | with pytest.raises(TypeError): |
| 622 | url.copy_with(pathh=class="st">"/incorrect-spelling") |
| 623 | with pytest.raises(TypeError): |
| 624 | url.copy_with(userinfo=class="st">"should be bytes") |
| 625 | |
| 626 | |
| 627 | def test_url_copywith_urlencoded_path(): |
Callers
nothing calls this directly
Tested by
no test coverage detected