pull/2221/head
Simon Willison 2024-01-10 13:08:52 -08:00 zatwierdzone przez GitHub
rodzic 7506a89be0
commit 0f63cb83ed
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -89,7 +89,7 @@ Using datasette.client in tests
The :ref:`internals_datasette_client` mechanism is designed for use in tests. It provides access to a pre-configured `HTTPX async client <https://www.python-httpx.org/async/>`__ instance that can make GET, POST and other HTTP requests against a Datasette instance from inside a test.
I simple test looks like this:
A simple test looks like this:
.. literalinclude:: ../tests/test_docs.py
:language: python