[VVP] add decorators for heat 5.2.5.6 69/57769/3
authorstark, steven <ss820f@att.com>
Thu, 26 Jul 2018 21:36:37 +0000 (14:36 -0700)
committerstark, steven <ss820f@att.com>
Thu, 26 Jul 2018 22:30:39 +0000 (15:30 -0700)
Change-Id: I422fad86438380092254e46e3940f32fe6dc732f
Issue-ID: VVP-92
Signed-off-by: stark, steven <ss820f@att.com>
ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py
ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py
ice_validator/tests/test_network_format.py

index 1841a4f..d4fdb36 100644 (file)
 #
 # 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
index bcb4486..85c0a4d 100644 (file)
 #
 # 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
index 17d000c..651267e 100644 (file)
@@ -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