| Conditions | 1 |
| Total Lines | 10 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | """Unit test fixtures.""" |
||
| 41 | 1 | @pytest.fixture |
|
| 42 | 1 | def minimal_openapi_spec_dict(): |
|
| 43 | """Sample minimal openapi spec.""" |
||
| 44 | 1 | return { |
|
| 45 | "openapi": "3.0.0", |
||
| 46 | "info": {"title": "Minimal OpenAPI specification", "version": "0.1"}, |
||
| 47 | "paths": { |
||
| 48 | "/status": { |
||
| 49 | "get": { |
||
| 50 | "responses": {"default": {"description": "status"}} |
||
| 51 | } |
||
| 55 |