✏ Reword to improve legibility of docs about TestClient (#4389)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Rob Gilton 2022-05-10 02:30:38 +01:00 committed by GitHub
parent 38902407c0
commit 1233a7d93b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ With it, you can use <a href="https://docs.pytest.org/" class="external-link" ta
Import `TestClient`.
Create a `TestClient` passing to it your **FastAPI** application.
Create a `TestClient` by passing your **FastAPI** application to it.
Create functions with a name that starts with `test_` (this is standard `pytest` conventions).