We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
respx
pytest_httpx
1 parent 3fcd991 commit 55ed958Copy full SHA for 55ed958
tests/test_client.py
@@ -30,9 +30,7 @@ def test_simple_client_init(api_client: ApiClient):
30
31
32
def test_base_url_override(respx_mock: respx.mock):
33
- respx_mock.get(url__startswith="https://test/repos/foo/bar/import/issues").mock(
34
- return_value=RESPONSE_STATUS_MULTIPLE_ISSUES
35
- )
+ respx_mock.get(url="https://test/repos/foo/bar/import/issues").mock(return_value=RESPONSE_STATUS_MULTIPLE_ISSUES)
36
37
api_client = ApiClient(http_client=HttpClient(token=GITHUB_TOKEN, base_url="https://test"))
38
api_client.get_status_multiple("foo", "bar", datetime.now(tz=UTC))
0 commit comments