Skip to content

Commit

Permalink
fix: updated documentation reference
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Jan 5, 2025
1 parent 5b4dd96 commit 98ee950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ the test client, since HTTPX tries to consume the full response before returning
request.

Litestar offers two helper functions,
:func:`~litestar.testing.client.subprocess_client.subprocess_sync_client` and
:func:`~litestar.testing.client.subprocess_client.subprocess_async_client` that will
:func:`litestar.testing.subprocess_sync_client` and
:func:`litestar.testing.subprocess_async_client` that will
launch a Litestar instance with in a subprocess and set up an httpx client for running
tests. You can either load your actual app file or create subsets from it as you would
with the regular test client setup:
Expand Down

0 comments on commit 98ee950

Please sign in to comment.