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