Merge "Create new project/user for snaps tests"
[functest.git] / functest / opnfv_tests / openstack / snaps / snaps_suite_builder.py
index ab7b368..34a4396 100644 (file)
@@ -24,7 +24,7 @@ from snaps.openstack.tests.create_image_tests import (
     CreateImageSuccessTests, CreateImageNegativeTests,
     CreateMultiPartImageTests)
 from snaps.openstack.tests.create_instance_tests import (
-    CreateInstanceSingleNetworkTests, CreateInstanceOnComputeHost,
+    CreateInstanceOnComputeHost,
     CreateInstanceSimpleTests, InstanceSecurityGroupTests,
     CreateInstancePortManipulationTests, SimpleHealthCheck,
     CreateInstanceFromThreePartImage, CreateInstanceTwoNetTests,
@@ -84,6 +84,7 @@ def add_openstack_client_tests(suite, os_creds, ext_net_name,
                                use_keystone=True, log_level=logging.INFO):
     """
     Adds tests written to exercise OpenStack client retrieval
+
     :param suite: the unittest.TestSuite object to which to add the tests
     :param os_creds: and instance of OSCreds that holds the credentials
                      required by OpenStack
@@ -130,6 +131,7 @@ def add_openstack_api_tests(suite, os_creds, ext_net_name, use_keystone=True,
     # pylint: disable=too-many-arguments
     """
     Adds tests written to exercise all existing OpenStack APIs
+
     :param suite: the unittest.TestSuite object to which to add the tests
     :param os_creds: Instance of OSCreds that holds the credentials
                      required by OpenStack
@@ -246,6 +248,7 @@ def add_openstack_integration_tests(suite, os_creds, ext_net_name,
     Adds tests written to exercise all long-running OpenStack integration tests
     meaning they will be creating VM instances and potentially performing some
     SSH functions through floatingIPs
+
     :param suite: the unittest.TestSuite object to which to add the tests
     :param os_creds: and instance of OSCreds that holds the credentials
                      required by OpenStack
@@ -426,11 +429,12 @@ def add_openstack_integration_tests(suite, os_creds, ext_net_name,
         log_level=log_level))
 
     if use_floating_ips:
-        suite.addTest(OSIntegrationTestCase.parameterize(
-            CreateInstanceSingleNetworkTests, os_creds=os_creds,
-            ext_net_name=ext_net_name, use_keystone=use_keystone,
-            flavor_metadata=flavor_metadata, image_metadata=image_metadata,
-            log_level=log_level))
+        # https://jira.opnfv.org/browse/SNAPS-322
+        # suite.addTest(OSIntegrationTestCase.parameterize(
+        #     CreateInstanceSingleNetworkTests, os_creds=os_creds,
+        #     ext_net_name=ext_net_name, use_keystone=use_keystone,
+        #     flavor_metadata=flavor_metadata, image_metadata=image_metadata,
+        #     log_level=log_level))
         suite.addTest(OSIntegrationTestCase.parameterize(
             CreateStackFloatingIpTests, os_creds=os_creds,
             ext_net_name=ext_net_name, use_keystone=use_keystone,