From 569493bb0e61eef945ee65cd51190a0e30bb7bda Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Sun, 19 Jan 2020 22:25:41 +0200 Subject: [PATCH] Pass disable_ssl_certificate_validation to gabbit tests The patch passes disable_ssl_certificate_validation to gabbi tests driver. Change-Id: Ib70341bb0c083d296e074d1cf062bc355ac24432 --- heat_tempest_plugin/tests/api/test_heat_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/heat_tempest_plugin/tests/api/test_heat_api.py b/heat_tempest_plugin/tests/api/test_heat_api.py index 7ba3a62..7ad35c8 100644 --- a/heat_tempest_plugin/tests/api/test_heat_api.py +++ b/heat_tempest_plugin/tests/api/test_heat_api.py @@ -92,8 +92,10 @@ def load_tests(loader, tests, pattern): else: register_test_case_id(test_case) + cert_validate = not conf.disable_ssl_certificate_validation, api_tests = driver.build_tests(test_dir, loader, url=endpoint, host="", fixture_module=fixtures, + cert_validate=cert_validate, test_loader_name=__name__) register_test_suite_ids(api_tests) return api_tests