Merge "API tests: Don't depend on template versions >mitaka"

This commit is contained in:
Zuul 2018-04-27 11:09:55 +00:00 committed by Gerrit Code Review
commit 9d99219f3e
2 changed files with 3 additions and 3 deletions

View File

@ -24,4 +24,4 @@ tests:
status: 200
response_json_paths:
$.resources.TestResource.type: OS::Heat::TestResource
$.heat_template_version: '2016-10-14'
$.heat_template_version: /^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]$/

View File

@ -8,11 +8,11 @@ tests:
GET: /template_versions
status: 200
response_json_paths:
$.template_versions[?(@.version='heat_template_version.2017-02-24')].type: hot
$.template_versions[?(@.version='heat_template_version.2016-04-08')].type: hot
- name: list template functions
desc: 721ff23c-8527-480f-a090-1c915b4f8430
GET: /template_versions/heat_template_version.2016-10-14/functions
GET: /template_versions/heat_template_version.2016-04-08/functions
status: 200
response_json_paths:
$.template_functions[?(@.functions='get_file')].description: