Remove "os-volume-type-access:is_public" from required properties
in common_show_volume_type scheme
When requesting a volume-type using Admin or project-Member role user,
the response contains the property "os-volume-type-access:is_public".
But when requesting the same as a reader, the response does not contain
this property.
This causes tests to fail as the scheme validation is expecting this property.
Change-Id: Ic5c0095ac4cd9b20b8287c1593816a6f35309391
Signed-off-by: Yosi Ben Shimon <ybenshim@redhat.com>
diff --git a/tempest/lib/api_schema/response/volume/volume_types.py b/tempest/lib/api_schema/response/volume/volume_types.py
index 51b3a72..4d09bcd 100644
--- a/tempest/lib/api_schema/response/volume/volume_types.py
+++ b/tempest/lib/api_schema/response/volume/volume_types.py
@@ -31,8 +31,7 @@
'qos_specs_id': {'type': ['string', 'null'], 'format': 'uuid'}
},
'additionalProperties': False,
- 'required': ['name', 'is_public', 'description', 'id',
- 'os-volume-type-access:is_public']
+ 'required': ['name', 'is_public', 'description', 'id']
}
show_volume_type = {