Coverage for tests/test_tutorial/test_response_model/test_tutorial003_04.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2025-05-05 00:03 +0000

1import pytest 1abcdef

2from fastapi.exceptions import FastAPIError 1abcdef

3 

4 

5def test_invalid_response_model(): 1abcdef

6 with pytest.raises(FastAPIError): 1hgijkl

7 from docs_src.response_model.tutorial003_04 import app 1hgijkl

8 

9 assert app # pragma: no cover 1g