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

The trademark program interop tests run against clouds as old as the
Mitaka release, so don't depend on the presence of template plugin
versions that are newer than that.

Change-Id: If901077adee61df2273786283dcbdaef02dbe30a
This commit is contained in:
Zane Bitter 2018-03-07 21:21:48 -05:00
parent fbae3959fc
commit 4b9e227034
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: