We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://docs.datasette.io/en/0.61.1/testing_plugins.html#testing-outbound-http-calls-with-pytest-httpx says:
async def test_outbound_http_call(httpx_mock): httpx_mock.add_response( url='https://www.example.com/', data='Hello world', )
That's wrong - data= should be text=.
data=
text=
https://github.com/Colin-b/pytest_httpx/blob/v0.20.0/README.md#reply-with-custom-body
The text was updated successfully, but these errors were encountered:
e73fa72
No branches or pull requests
https://docs.datasette.io/en/0.61.1/testing_plugins.html#testing-outbound-http-calls-with-pytest-httpx says:
That's wrong -
data=
should betext=
.https://github.com/Colin-b/pytest_httpx/blob/v0.20.0/README.md#reply-with-custom-body
The text was updated successfully, but these errors were encountered: