From 20b8e673c02ed57cc2393b81bbdda3904ed91da5 Mon Sep 17 00:00:00 2001 From: "stark, steven" Date: Fri, 27 Jul 2018 12:31:18 -0700 Subject: [PATCH] [VVP] decorators for 5.2.7 and 5.2.8 update decorator for validation script corresponding to 5.2.8 of VNFRTQS update decorator for validation script corresponding to 5.2.7 of VNFRTQS Change-Id: Ibb5bb639908538c8ce07e2f2913a0fb447c27746 Issue-ID: VVP-94 Signed-off-by: stark, steven --- ice_validator/tests/test_env_and_yaml_same_name.py | 2 ++ ice_validator/tests/test_volume_format_outputs.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ice_validator/tests/test_env_and_yaml_same_name.py b/ice_validator/tests/test_env_and_yaml_same_name.py index 884d965..86270fd 100644 --- a/ice_validator/tests/test_env_and_yaml_same_name.py +++ b/ice_validator/tests/test_env_and_yaml_same_name.py @@ -37,11 +37,13 @@ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. # +from .helpers import validates from os import listdir from os import path +@validates('R-67205', 'R-35727', 'R-22656') def test_env_and_yaml_same_name(template_dir): ''' Check that all environment template filenames are identical to an diff --git a/ice_validator/tests/test_volume_format_outputs.py b/ice_validator/tests/test_volume_format_outputs.py index 00c6871..02ab9c2 100644 --- a/ice_validator/tests/test_volume_format_outputs.py +++ b/ice_validator/tests/test_volume_format_outputs.py @@ -37,11 +37,13 @@ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. # +from .helpers import validates import yaml import pytest +@validates('R-79531') def test_volume_format_outputs(volume_template): ''' Check that the values are properly provided to the outputs section -- 2.16.6