(list_grouping_size)
| 253 | |
| 254 | |
| 255 | def test_validate_schema_grouping_list(list_grouping_size): |
| 256 | grouping, size = list_grouping_size |
| 257 | schema = make_schema_with_nones(grouping) |
| 258 | validate_grouping(grouping, schema) |
| 259 | |
| 260 | # check validation failures |
| 261 | with pytest.raises(SchemaTypeValidationError): |
| 262 | validate_grouping(None, schema) |
| 263 | |
| 264 | with pytest.raises(SchemaLengthValidationError): |
| 265 | validate_grouping((None,) * (size + 1), schema) |
| 266 | |
| 267 | with pytest.raises(SchemaTypeValidationError): |
| 268 | validate_grouping({"a": 0}, schema) |
| 269 | |
| 270 | |
| 271 | def test_validate_schema_dict(dict_grouping_size): |
nothing calls this directly
no test coverage detected
searching dependent graphs…