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
2 people authored and aminalaee committed Feb 13, 2023
1 parent 4116314 commit ddd3205
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 ddd3205

Please sign in to comment.