From 3cd2e1aa7c15a10159b946554122cbdb348b41fa Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Thu, 2 Jul 2020 10:51:38 +0000 Subject: [PATCH] Fix cert handling for dynamic routing tests Instead of ignoring ca_certs, use the same configuration as the remainder of the tests. Change-Id: Ic032924cf90ba94f226c223053568f0708749531 --- .../neutron_dynamic_routing/api/test_bgp_speaker_extensions.py | 2 +- neutron_tempest_plugin/neutron_dynamic_routing/scenario/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neutron_tempest_plugin/neutron_dynamic_routing/api/test_bgp_speaker_extensions.py b/neutron_tempest_plugin/neutron_dynamic_routing/api/test_bgp_speaker_extensions.py index f0e576bc..61bbcc37 100644 --- a/neutron_tempest_plugin/neutron_dynamic_routing/api/test_bgp_speaker_extensions.py +++ b/neutron_tempest_plugin/neutron_dynamic_routing/api/test_bgp_speaker_extensions.py @@ -37,7 +37,7 @@ def _setup_client_args(auth_provider): # The disable_ssl appears in identity disable_ssl_certificate_validation = ( CONF.identity.disable_ssl_certificate_validation) - ca_certs = None + ca_certs = CONF.identity.ca_certificates_file # Trace in debug section trace_requests = CONF.debug.trace_requests diff --git a/neutron_tempest_plugin/neutron_dynamic_routing/scenario/base.py b/neutron_tempest_plugin/neutron_dynamic_routing/scenario/base.py index de8677fb..f7524363 100644 --- a/neutron_tempest_plugin/neutron_dynamic_routing/scenario/base.py +++ b/neutron_tempest_plugin/neutron_dynamic_routing/scenario/base.py @@ -54,7 +54,7 @@ def _setup_client_args(auth_provider): # The disable_ssl appears in identity disable_ssl_certificate_validation = ( CONF.identity.disable_ssl_certificate_validation) - ca_certs = None + ca_certs = CONF.identity.ca_certificates_file # Trace in debug section trace_requests = CONF.debug.trace_requests