Add comment for schema change in microversion 2.19
This is to add comment for the schema change in microversion 2.19, to make code more readable. Change-Id: I189577bb0df713a281a2f11d8336e4ebd1862a95 partially-implements: blueprint full-schema-for-all-microversions
This commit is contained in:
@@ -17,6 +17,9 @@ import copy
|
||||
from tempest.lib.api_schema.response.compute.v2_16 import servers \
|
||||
as serversv216
|
||||
|
||||
# Compute microversion 2.19:
|
||||
# 1. New attributes in 'server' dict.
|
||||
# 'description'
|
||||
get_server = copy.deepcopy(serversv216.get_server)
|
||||
get_server['response_body']['properties']['server'][
|
||||
'properties'].update({'description': {'type': ['string', 'null']}})
|
||||
|
||||
Reference in New Issue
Block a user