()
| 183 | |
| 184 | |
| 185 | def test_array_schema(): |
| 186 | schema = { |
| 187 | "type": "array", |
| 188 | "items": {"type": "string"}, |
| 189 | "minItems": 2, |
| 190 | "description": "A list of strings", |
| 191 | } |
| 192 | result = transform_schema(schema) |
| 193 | assert result == snapshot( |
| 194 | { |
| 195 | "type": "array", |
| 196 | "description": """\ |
| 197 | A list of strings |
| 198 | |
| 199 | {minItems: 2}\ |
| 200 | """, |
| 201 | "items": {"type": "string"}, |
| 202 | } |
| 203 | ) |
| 204 | |
| 205 | |
| 206 | def test_string_schema_with_format_and_default(): |
nothing calls this directly
no test coverage detected