diff options
author | stark, steven <ss820f@att.com> | 2018-07-26 14:36:37 -0700 |
---|---|---|
committer | stark, steven <ss820f@att.com> | 2018-07-26 15:30:39 -0700 |
commit | 6985dd5e75118aed4ff07c88de11c8c9cd5c72cb (patch) | |
tree | d9ad04ccbd3362182622017c8e129fa8ba9c860c /ice_validator | |
parent | 0feaec6790274f87c2d35a039676a3b1c2702a4d (diff) |
[VVP] add decorators for heat 5.2.5.6
Change-Id: I422fad86438380092254e46e3940f32fe6dc732f
Issue-ID: VVP-92
Signed-off-by: stark, steven <ss820f@att.com>
Diffstat (limited to 'ice_validator')
3 files changed, 14 insertions, 0 deletions
diff --git a/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py b/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py index 1841a4f..d4fdb36 100644 --- a/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py +++ b/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py @@ -37,12 +37,15 @@ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. # +from .helpers import validates import pytest import yaml from .utils.ports import get_invalid_ip_addresses +@validates('R-41492', + 'R-35735') def test_allowed_address_pairs_include_vm_type_network_role(heat_template): ''' Check that all allowed_address_pairs include the {vm_type} of the diff --git a/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py b/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py index bcb4486..85c0a4d 100644 --- a/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py +++ b/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py @@ -37,12 +37,21 @@ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. # +from .helpers import validates import pytest import yaml from .utils.ports import get_invalid_ip_addresses +@validates('R-40971', + 'R-27818', + 'R-29765', + 'R-85235', + 'R-78380', + 'R-23503', + 'R-71577', + 'R-04697') def test_fixed_ips_include_vm_type_network_role(heat_template): ''' Check that all fixed_ips ip addresses include the {vm_type} of the diff --git a/ice_validator/tests/test_network_format.py b/ice_validator/tests/test_network_format.py index 17d000c..651267e 100644 --- a/ice_validator/tests/test_network_format.py +++ b/ice_validator/tests/test_network_format.py @@ -37,6 +37,7 @@ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. # +from .helpers import validates import pytest import yaml @@ -44,6 +45,7 @@ from .utils.network_roles import get_network_role_from_port,\ property_uses_get_resource +@validates('R-62983', 'R-86182') def test_network_format(heat_template): ''' Make sure all network properties use the allowed naming |