Skip to content

Commit

Permalink
docs(testclient): change requests url to httpx url (#1937)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
  • Loading branch information
onerandomusername and Kludex committed Nov 5, 2022
1 parent a450272 commit bf5d735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/testclient.md
Expand Up @@ -55,7 +55,7 @@ with open("example.txt", "rb") as f1:
response = client.post("/form", files=files)
```

For more information you can check the `requests` [documentation](https://requests.readthedocs.io/en/master/user/advanced/).
For more information you can check the `httpx` [documentation](https://www.python-httpx.org/advanced/).

By default the `TestClient` will raise any exceptions that occur in the
application. Occasionally you might want to test the content of 500 error
Expand Down

0 comments on commit bf5d735

Please sign in to comment.