- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for INTERNAL_ERROR (0.16 sec)
-
tests/test_tutorial/test_dependencies/test_tutorial008d_an_py39.py
@needs_py39 def test_get(client: TestClient): response = client.get("/items/plumbus") assert response.status_code == 200, response.text assert response.json() == "plumbus" @needs_py39 def test_internal_error(client: TestClient): from docs_src.dependencies.tutorial008d_an_py39 import InternalError with pytest.raises(InternalError) as exc_info: client.get("/items/portal-gun") assert (
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 1.3K bytes - Viewed (0)