- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for fooinvoice (0.06 sec)
-
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py
from docs_src.openapi_callbacks.tutorial001 import app, invoice_notification client = TestClient(app) def test_get(): response = client.post( "/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(): # Just for coverage
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 9K bytes - Viewed (0)