()
| 110 | |
| 111 | |
| 112 | def test_enum_schema(): |
| 113 | schema = { |
| 114 | "type": "string", |
| 115 | "enum": [ |
| 116 | "foo", |
| 117 | "bar", |
| 118 | ], |
| 119 | } |
| 120 | result = transform_schema(schema) |
| 121 | assert result == snapshot({"enum": ["foo", "bar"]}) |
| 122 | |
| 123 | |
| 124 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected