From c42086a36bbfaf9286e1c08330f25d1b06a35f4b Mon Sep 17 00:00:00 2001 From: "stark, steven" Date: Wed, 11 Jul 2018 15:20:50 -0700 Subject: [VVP] add decorators to test cases Adding initial set of decorators Change-Id: I1d2064c94995fe30b607e7c7b8a0faebe7426f9b Issue-ID: VVP-80 Signed-off-by: stark, steven --- ice_validator/tests/test_heat_template_structure.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ice_validator/tests/test_heat_template_structure.py') 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 -- cgit 1.2.3-korg