aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-12-02 17:34:06 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2020-12-02 17:36:07 +0100
commitd3f5c4e45c779df2457167fa7c6fe5e6eb76812f (patch)
treea1b4ce66feae8ce6744364fed555bd06afc6629d
parentb3f4293b333ffe00af758a2ad8a20d4a6c7c2b7e (diff)
Remove list_routers call if no tenant network
Change-Id: I49ea5cc9207048f5dda49fcd0463ef333970ecb5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dec0d59da6b90afc2e0f385f3573479d6843bb99)
-rw-r--r--functest/opnfv_tests/openstack/api/connection_check.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/api/connection_check.py b/functest/opnfv_tests/openstack/api/connection_check.py
index 83b72b65b..f3b35e9d9 100644
--- a/functest/opnfv_tests/openstack/api/connection_check.py
+++ b/functest/opnfv_tests/openstack/api/connection_check.py
@@ -55,6 +55,7 @@ class ConnectionCheck(testcase.TestCase):
if env.get('NO_TENANT_NETWORK').lower() == 'true':
self.func_list.remove("list_floating_ip_pools")
self.func_list.remove("list_floating_ips")
+ self.func_list.remove("list_routers")
for func in self.func_list:
self.__logger.debug(
"%s: %s", func, getattr(self.cloud, func)())