X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_volume_module_naming.py;h=fdd48941247d6aab16f3ea91b0868c75d97a3212;hb=0e2e6cdfb6b659c29ad1a59ac37d3a50191577a0;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..fdd4894 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,7 +36,8 @@ # ============LICENSE_END============================================ import os -from tests.parametrizers import get_nested_files +from tests.helpers import validates +from tests.utils.nested_files 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")]