|
84 | 84 | [9, 'hello', [1, 2, 3], {'a': 'a', 'b': 'b', 'c': 'xy'}, 'str', 5], |
85 | 85 | JsonSchemaValueException('data[2][1] must be string', value=2, name='data[2][1]', definition={'type': 'string'}, rule='type'), |
86 | 86 | ), |
| 87 | + ( |
| 88 | + [9, 'hello', [1], {'q': 'q', 'x': 'x', 'y': 'y'}, 'str', 5], |
| 89 | + JsonSchemaValueException('data[3] must contain [\'a\', \'b\'] properties', value={'q': 'q', 'x': 'x', 'y': 'y'}, name='data[3]', definition=definition['items'][3], rule='required'), |
| 90 | + ), |
87 | 91 | ( |
88 | 92 | [9, 'hello', [1], {'a': 'a', 'x': 'x', 'y': 'y'}, 'str', 5], |
89 | | - JsonSchemaValueException('data[3] must contain [\'a\', \'b\'] properties', value={'a': 'a', 'x': 'x', 'y': 'y'}, name='data[3]', definition=definition['items'][3], rule='required'), |
| 93 | + JsonSchemaValueException('data[3] must contain [\'b\'] properties', value={'a': 'a', 'x': 'x', 'y': 'y'}, name='data[3]', definition=definition['items'][3], rule='required'), |
90 | 94 | ), |
91 | 95 | ( |
92 | 96 | [9, 'hello', [1], {}, 'str', 5], |
|
0 commit comments