aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/test_environment_file_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_environment_file_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_environment_file_structure.py')
-rw-r--r--ice_validator/tests/test_environment_file_structure.py3
1 files changed, 2 insertions, 1 deletions
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