diff --git a/glanceclient/tests/unit/v2/fixtures.py b/glanceclient/tests/unit/v2/fixtures.py index ebf2f72f..bc8793d3 100644 --- a/glanceclient/tests/unit/v2/fixtures.py +++ b/glanceclient/tests/unit/v2/fixtures.py @@ -112,7 +112,8 @@ schema_fixture = { "aki", "bare", "ovf", - "ova" + "ova", + "docker" ], "type": [ "null", diff --git a/glanceclient/tests/unit/v2/test_shell_v2.py b/glanceclient/tests/unit/v2/test_shell_v2.py index 4ccef275..1ae17b82 100644 --- a/glanceclient/tests/unit/v2/test_shell_v2.py +++ b/glanceclient/tests/unit/v2/test_shell_v2.py @@ -40,7 +40,8 @@ def schema_args(schema_getter, omit=None): my_schema_getter = lambda: { 'properties': { 'container_format': { - 'enum': [None, 'ami', 'ari', 'aki', 'bare', 'ovf', 'ova'], + 'enum': [None, 'ami', 'ari', 'aki', 'bare', 'ovf', 'ova', + 'docker'], 'type': 'string', 'description': 'Format of the container'}, 'disk_format': { diff --git a/glanceclient/v2/image_schema.py b/glanceclient/v2/image_schema.py index 29c1b2f0..ad669bab 100644 --- a/glanceclient/v2/image_schema.py +++ b/glanceclient/v2/image_schema.py @@ -44,7 +44,8 @@ _BASE_SCHEMA = { "aki", "bare", "ovf", - "ova" + "ova", + "docker" ], "type": "string", "description": "Format of the container"