(path: str, expected_name: str, expected_title: str)
| 54 | ], |
| 55 | ) |
| 56 | def test_schema(path: str, expected_name: str, expected_title: str): |
| 57 | assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot( |
| 58 | [ |
| 59 | { |
| 60 | "required": True, |
| 61 | "schema": {"title": Is(expected_title), "type": "string"}, |
| 62 | "name": Is(expected_name), |
| 63 | "in": "path", |
| 64 | } |
| 65 | ] |
| 66 | ) |
| 67 | |
| 68 | |
| 69 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…