X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_environment_file_structure.py;h=7213e3bf28784879d03bd098f38f10e35cbd3ad1;hb=c42086a36bbfaf9286e1c08330f25d1b06a35f4b;hp=d8cba6da3840b4029d85c66862ea384d7e62b270;hpb=cc21b8b08b6dbcec577bfb26ff397ac899da8002;p=vvp%2Fvalidation-scripts.git 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