Test generating structure for primitive arrays.
()
| 165 | |
| 166 | |
| 167 | def test_generate_primitive_array(): |
| 168 | """Test generating structure for primitive arrays.""" |
| 169 | schema = { |
| 170 | "numbers": ["numeric value"], |
| 171 | "names": ["name string"] |
| 172 | } |
| 173 | |
| 174 | result = generate_structure(schema) |
| 175 | |
| 176 | assert "numbers: [<numeric value>,...]" in result |
| 177 | assert "names: [<name string>,...]" in result |
| 178 | |
| 179 | |
| 180 | # Pydantic-specific tests |
nothing calls this directly
no test coverage detected
searching dependent graphs…