Skip to content

Commit

Permalink
馃帹 [pre-commit.ci] Auto format from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 16, 2022
1 parent 1dcb53f commit a9fa12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/docs/advanced/async-tests.md
Expand Up @@ -83,7 +83,7 @@ response = client.get('/')

!!! tip
Note that we're using async/await with the new `AsyncClient` - the request is asynchronous.

!!! warning
If your application relies on events (i.e. `startup` or `shutdown`), HTTPx's `AsyncClient` won't trigger these events. To ensure your ASGI lifecycle events are triggered, you'll need to use an additional context manager, `LifespanManager` from [florimondmanca/asgi-lifespan](https://github.com/florimondmanca/asgi-lifespan#usage), when creating the `AsyncClient`. See [#2003](https://github.com/tiangolo/fastapi/issues/2003#issuecomment-801140731) for more details.

Expand Down

0 comments on commit a9fa12e

Please sign in to comment.