aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/test_heat_template_structure.py
diff options
context:
space:
mode:
authorstark, steven <ss820f@att.com>2018-07-11 15:20:50 -0700
committerstark, steven <ss820f@att.com>2018-07-11 15:32:22 -0700
commitc42086a36bbfaf9286e1c08330f25d1b06a35f4b (patch)
tree1540e29ad4433640387dc3785068615fe4ed0a66 /ice_validator/tests/test_heat_template_structure.py
parent7e08a8738145295de2937f00231e4ec13db1e9b0 (diff)
[VVP] add decorators to test cases
Adding initial set of decorators Change-Id: I1d2064c94995fe30b607e7c7b8a0faebe7426f9b Issue-ID: VVP-80 Signed-off-by: stark, steven <ss820f@att.com>
Diffstat (limited to 'ice_validator/tests/test_heat_template_structure.py')
-rw-r--r--ice_validator/tests/test_heat_template_structure.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ice_validator/tests/test_heat_template_structure.py b/ice_validator/tests/test_heat_template_structure.py
index 3bbca31..0d8242e 100644
--- a/ice_validator/tests/test_heat_template_structure.py
+++ b/ice_validator/tests/test_heat_template_structure.py
@@ -37,7 +37,7 @@
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
-
+from .helpers import validates
import yaml
@@ -54,6 +54,7 @@ def test_heat_template_structure(yaml_file):
assert any(map(lambda v: v in yml, key_values))
+@validates('27078', 'R-39402', 'R-35414')
def test_heat_template_structure_contains_required_sections(yaml_file):
'''
Check that all heat templates have the required sections