From: Cédric Ollivier <cedric.ollivier@orange.com>
Date: Sat, 26 Jan 2019 22:36:10 +0000 (+0100)
Subject: Remove test_get_endpoint_with_each_interface
X-Git-Tag: opnfv-7.2.0~62
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=4a926a870feaa2356552961ce44a91396ed80c8f;p=functest.git

Remove test_get_endpoint_with_each_interface

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)
---

diff --git a/functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py b/functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py
index a4fa8a2f2..964c84aa6 100644
--- a/functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py
+++ b/functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py
@@ -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))