Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_dummy_callback (0.15 sec)

  1. 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():
        # Just for coverage
        invoice_notification({})
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 9K bytes
    - Viewed (0)
Back to top