- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_dummy_callback (0.06 seconds)
-
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py
"/invoices/", json={"id": "fooinvoice", "customer": "John", "total": 5.3} ) assert response.status_code == 200, response.text assert response.json() == {"msg": "Invoice received"} def test_dummy_callback(mod: ModuleType): # Just for coverage mod.invoice_notification({}) def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.6K bytes - Click Count (0)