- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 168 for Test (0.13 sec)
-
docs/en/docs/advanced/testing-database.md
{!../../../docs_src/sql_databases/sql_app/tests/test_sql_app.py!} ``` !!! tip The code for `override_get_db()` is almost exactly the same as for `get_db()`, but in `override_get_db()` we use the `TestingSessionLocal` for the testing database instead. ## Test the app Then we can just test the app as normally. ```Python hl_lines="32-47" {!../../../docs_src/sql_databases/sql_app/tests/test_sql_app.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.5K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
```Python {!../../../docs_src/app_testing/main.py!} ``` ### Testing file Then you could have a file `test_main.py` with your tests. It could live on the same Python package (the same directory with a `__init__.py` file): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/en/docs/benchmarks.md
# Benchmarks Independent TechEmpower benchmarks show **FastAPI** applications running under Uvicorn as <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7" class="external-link" target="_blank">one of the fastest Python frameworks available</a>, only below Starlette and Uvicorn themselves (used internally by FastAPI).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/de/docs/benchmarks.md
# Benchmarks Unabhängige TechEmpower-Benchmarks zeigen, **FastAPI**-Anwendungen, die unter Uvicorn ausgeführt werden, gehören zu <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7" class="external-link" target="_blank">den schnellsten existierenden Python-Frameworks</a>, nur Starlette und Uvicorn selbst (intern von FastAPI verwendet) sind schneller.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 16:04:13 GMT 2024 - 3.9K bytes - Viewed (0) -
docs/ru/docs/benchmarks.md
# Замеры производительности Независимые тесты производительности приложений от TechEmpower показывают, что **FastAPI** под управлением Uvicorn <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7" class="external-link" target="_blank">один из самых быстрых Python-фреймворков</a> и уступает только Starlette и Uvicorn (которые используются в FastAPI). (*)
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 13 17:52:11 GMT 2023 - 6.1K bytes - Viewed (0) -
docs/es/docs/benchmarks.md
# Benchmarks Los benchmarks independientes de TechEmpower muestran aplicaciones de **FastAPI** que se ejecutan en Uvicorn como <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l= zijzen-7" class="external-link" target="_blank">uno de los frameworks de Python más rápidos disponibles</a>, solo por debajo de Starlette y Uvicorn (utilizados internamente por FastAPI). (*)
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Feb 07 11:39:50 GMT 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/contributing.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 17:42:43 GMT 2024 - 14.1K bytes - Viewed (0) -
.gitignore
.idea .ipynb_checkpoints .mypy_cache .vscode __pycache__ .pytest_cache htmlcov dist site .coverage coverage.xml .netlify test.db log.txt Pipfile.lock env3.* env docs_build site_build venv docs.zip archive.zip # vim temporary files *~ .*.sw? .cache # macOS
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 13:11:35 GMT 2023 - 268 bytes - Viewed (0) -
docs/en/docs/advanced/testing-websockets.md
# Testing WebSockets You can use the same `TestClient` to test WebSockets. For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket: ```Python hl_lines="27-31" {!../../../docs_src/app_testing/tutorial002.py!} ``` !!! note
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 29 14:02:58 GMT 2020 - 449 bytes - Viewed (0) -
docs/pl/docs/index.md
* Potwierdzi, że w ścieżce jest `item_id` dla żądań `GET` i `PUT`. * Potwierdzi, że `item_id` jest typu `int` dla żądań `GET` i `PUT`. * Jeżeli nie jest, odbiorca zobaczy przydatną, przejrzystą wiadomość z błędem. * Sprawdzi czy w ścieżce jest opcjonalny parametr zapytania `q` (np. `http://127.0.0.1:8000/items/foo?q=somequery`) dla żądania `GET`. * Jako że parametr `q` jest zadeklarowany jako `= None`, jest on opcjonalny.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 19.4K bytes - Viewed (0)