X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_volume_module_naming.py;h=68c2158d9e59e3dd06e45d17809fd6d3de34b372;hb=3471cfeb1a864f20ca0f8c7e33c14a4bd87d1258;hp=770ad26d752943e40eced4febe96b0defa0de0d5;hpb=1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1;p=vvp%2Fvalidation-scripts.git diff --git a/ice_validator/tests/test_volume_module_naming.py b/ice_validator/tests/test_volume_module_naming.py index 770ad26..68c2158 100644 --- a/ice_validator/tests/test_volume_module_naming.py +++ b/ice_validator/tests/test_volume_module_naming.py @@ -2,7 +2,7 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2018 AT&T Intellectual Property. All rights reserved. +# Copyright © 2019 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed @@ -36,6 +36,7 @@ # ============LICENSE_END============================================ import os +from tests.helpers import validates from tests.parametrizers import get_nested_files from tests.structures import Heat, Resource @@ -45,7 +46,7 @@ def non_nested_files(filenames): return set(filenames).difference(set(nested_files)) -# No requirement ID yet available +@validates("R-589037") def test_detected_volume_module_follows_naming_convention(template_dir): all_files = [os.path.join(template_dir, f) for f in os.listdir(template_dir)] yaml_files = [f for f in all_files if f.endswith(".yaml") or f.endswith(".yml")]