Merge "1) Cleanup floating IPs that are assigned through Juju Deployment. 2) Add...
[functest.git] / functest / opnfv_tests / openstack / snaps / snaps_suite_builder.py
index ab7b368..0e9c41a 100644 (file)
@@ -37,8 +37,9 @@ from snaps.openstack.tests.create_project_tests import (
     CreateProjectSuccessTests, CreateProjectUserTests)
 from snaps.openstack.tests.create_qos_tests import (
     CreateQoSTests)
-from snaps.openstack.tests.create_router_tests import (
-    CreateRouterSuccessTests, CreateRouterNegativeTests)
+# from snaps.openstack.tests.create_router_tests import
+# CreateRouterSuccessTests
+from snaps.openstack.tests.create_router_tests import CreateRouterNegativeTests
 from snaps.openstack.tests.create_security_group_tests import (
     CreateSecurityGroupTests)
 from snaps.openstack.tests.create_stack_tests import (
@@ -84,6 +85,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 +132,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 +249,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
@@ -307,11 +311,13 @@ def add_openstack_integration_tests(suite, os_creds, ext_net_name,
         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(
-        CreateRouterSuccessTests, 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-320
+    # suite.addTest(OSIntegrationTestCase.parameterize(
+    #     CreateRouterSuccessTests, 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(
         CreateRouterNegativeTests, os_creds=os_creds,
         ext_net_name=ext_net_name, use_keystone=use_keystone,