Remove test_get_endpoint_with_each_interface 57/66657/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 26 Jan 2019 22:36:10 +0000 (23:36 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 26 Jan 2019 23:01:25 +0000 (00:01 +0100)
It checks all 3 endpoints for image but nothing forces to define them.
Here is the only endpoint created by devstack.

glance      | image          | RegionOne
            |                |   public: http://192.168.1.10/image

[1] keystoneauth1.exceptions.catalog.EndpointNotFound: internal endpoint for image service in RegionOne region not found

Change-Id: If501b849fbbed6df98742db21e924094c1df9c7f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 9675c5a0cb2ccd698451a5930708263be5eba527)

functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py

index a4fa8a2..964c84a 100644 (file)
@@ -67,8 +67,7 @@ from snaps.openstack.utils.tests.heat_utils_tests import (
     HeatSmokeTests, HeatUtilsCreateSimpleStackTests,
     HeatUtilsCreateComplexStackTests, HeatUtilsFlavorTests,
     HeatUtilsKeypairTests, HeatUtilsSecurityGroupTests)
-from snaps.openstack.utils.tests.keystone_utils_tests import (
-    KeystoneSmokeTests, KeystoneUtilsTests)
+from snaps.openstack.utils.tests.keystone_utils_tests import KeystoneSmokeTests
 from snaps.openstack.utils.tests.neutron_utils_tests import (
     NeutronSmokeTests, NeutronUtilsNetworkTests, NeutronUtilsSubnetTests,
     NeutronUtilsRouterTests, NeutronUtilsSecurityGroupTests,
@@ -146,9 +145,6 @@ def add_openstack_api_tests(suite, os_creds, ext_net_name, use_keystone=True,
     """
     # Tests the OpenStack API calls
     if use_keystone:
-        suite.addTest(OSComponentTestCase.parameterize(
-            KeystoneUtilsTests, os_creds=os_creds, ext_net_name=ext_net_name,
-            log_level=log_level))
         suite.addTest(OSComponentTestCase.parameterize(
             CreateUserSuccessTests, os_creds=os_creds,
             ext_net_name=ext_net_name, log_level=log_level))