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_environment_file_structure.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ice_validator/tests/test_environment_file_structure.py') diff --git a/ice_validator/tests/test_environment_file_structure.py b/ice_validator/tests/test_environment_file_structure.py index d8cba6d..7213e3b 100644 --- a/ice_validator/tests/test_environment_file_structure.py +++ b/ice_validator/tests/test_environment_file_structure.py @@ -37,7 +37,7 @@ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. # - +from .helpers import validates import yaml import pytest @@ -54,6 +54,7 @@ def test_environment_structure(env_file): assert any(map(lambda v: v in yml, key_values)) +@validates('R-03324') def test_environment_file_contains_required_sections(env_file): ''' Check that all environments files only have the allowed sections -- cgit 1.2.3-korg