Skip to content

Commit

Permalink
Fixed typo in code example
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Jan 31, 2021
1 parent dde3c50 commit beb98bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/testing_plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Here's a test for that plugin that mocks the HTTPX outbound request:
response = await datasette.client.post("/-/fetch-url", data={
"url": "https://www.example.com/"
})
asert response.text == "Hello world"
assert response.text == "Hello world"
outbound_request = httpx_mock.get_request()
assert outbound_request.url == "https://www.example.com/"

0 comments on commit beb98bf

Please sign in to comment.