- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_dummy_callback (0.07 sec)
-
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")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.6K bytes - Viewed (0)