Add comment for schema change in microversion 2.13

This is to add comment for the schema change in microversion
2.13, to make code more readable.

Change-Id: I4df051eeb5eb54e1c0e15df9976f7607b1bc08e6
partially-implements: blueprint full-schema-for-all-microversions
This commit is contained in:
zhufl 2018-08-08 17:17:55 +08:00
parent 0a13ede274
commit d5f6e16975
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ import copy
from tempest.lib.api_schema.response.compute.v2_1 import server_groups
# Compute microversion 2.13:
# 1. New attributes in 'server_group' dict.
# 'project_id', 'user_id'
common_server_group = copy.deepcopy(server_groups.common_server_group)
common_server_group['properties']['project_id'] = {'type': 'string'}
common_server_group['properties']['user_id'] = {'type': 'string'}