()
| 65 | |
| 66 | |
| 67 | def test_enum_schema(): |
| 68 | schema = { |
| 69 | "type": "string", |
| 70 | "enum": [ |
| 71 | "foo", |
| 72 | "bar", |
| 73 | ], |
| 74 | } |
| 75 | result = transform_schema(schema) |
| 76 | assert result == snapshot({"enum": ["foo", "bar"]}) |
| 77 | |
| 78 | |
| 79 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected