Skip to content

Commit

Permalink
Fix broken JSON schemas in v2 tests
Browse files Browse the repository at this point in the history
* The required attribute is not allowed in draft 4 of JSON schema
* The dependency on jsonschema can be relaxed back to all versions

Change-Id: Id0767cfe2fe46d73999563896f851ffb01aa9489
  • Loading branch information
bcwaldon committed Feb 26, 2013
1 parent 98d9928 commit ee13560
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions glance/tests/unit/v2/test_images_resource.py
Expand Up @@ -1105,7 +1105,6 @@ def setUp(self):
custom_image_properties = {
'pants': {
'type': 'string',
'required': True,
'enum': ['on', 'off'],
},
}
Expand Down Expand Up @@ -1541,7 +1540,6 @@ def setUp(self):
custom_image_properties = {
'color': {
'type': 'string',
'required': True,
'enum': ['red', 'green'],
},
}
Expand Down

0 comments on commit ee13560

Please sign in to comment.