Revision 9b4c0456
Added by koszko over 1 year ago
src/test/test_hydrilla_builder.py | ||
---|---|---|
273 | 273 |
|
274 | 274 |
settings.expected_mapping['payloads'] = {} |
275 | 275 |
|
276 |
# Don't use UUIDs (they are optional) |
|
277 |
for definition in obj['definitions']: |
|
278 |
del definition['uuid'] |
|
279 |
|
|
280 |
for description in settings.expected(): |
|
281 |
if 'uuid' in description: |
|
282 |
del description['uuid'] |
|
283 |
|
|
276 | 284 |
# Add some unrecognized properties that should be stripped |
277 | 285 |
to_process = [obj] |
278 | 286 |
while to_process: |
Also available in: Unified diff
make "uuid" an optional property