Read template's expected value orchest test Part-1
In tests under /tempest/api/orchestration/, resources gets
created based on parameters defined in template (yaml, json).
But while verification of output, expected values are hard coded
in tests. Expected values should be read from template only.
This patch adds the helper to load the values from template
(yaml, json) and apply the changes in
tempest/api/orchestration/test_volumes.py
This patch also rename the existing load_template() function
as it read the template and newly added function load the template
This rename the load_template() to read_template in
tempest/api/orchestration/base.py and corresponding calling files.
Reviewed: https:/ /review. openstack. org/98676 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=961ea1adb88 2a187fbc2878a09 2974253481becb
Committed: https:/
Submitter: Jenkins
Branch: master
commit 961ea1adb882a18 7fbc2878a092974 253481becb
Author: Ghanshyam <email address hidden>
Date: Mon Jun 9 10:56:00 2014 +0900
Read template's expected value orchest test Part-1
In tests under /tempest/ api/orchestrati on/, resources gets
created based on parameters defined in template (yaml, json).
But while verification of output, expected values are hard coded
in tests. Expected values should be read from template only.
This patch adds the helper to load the values from template api/orchestrati on/test_ volumes. py
(yaml, json) and apply the changes in
tempest/
This patch also rename the existing load_template() function api/orchestrati on/base. py and corresponding calling files.
as it read the template and newly added function load the template
This rename the load_template() to read_template in
tempest/
Partial-Bug: #1327919
Change-Id: Ie0817e20cb7bac df33b16fb222a7e e9c91109fc8