Skip to content

Commit

Permalink
Update docs/testclient.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex authored Dec 26, 2024
1 parent 2380df4 commit cfdc715
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions docs/testclient.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ case you should use `client = TestClient(app, raise_server_exceptions=False)`.
not be triggered when the `TestClient` is instantiated. You can learn more about it
[here](lifespan.md#running-lifespan-in-tests).

!!! note

By default the `TestClient` uses `testclient:50000` as the host and port.
To use a different client, you can pass the host and port as a tuple: `TestClient(client=(<host>, <port>)`.

### Selecting the Async backend

`TestClient` takes arguments `backend` (a string) and `backend_options` (a dictionary).
Expand Down

0 comments on commit cfdc715

Please sign in to comment.