From 43ea80ae913d7213ec6595b46b2b532bb04dbb64 Mon Sep 17 00:00:00 2001 From: Sudhir Menon Date: Mon, 2 Nov 2020 16:00:21 +0530 Subject: [PATCH] ipatests: Fix for test_ipahealthcheck_ds_encryption Nightly test failure was seen for test_ipahealthcheck_ds_encryption The test was failing since @pytest.fixture was not specified before the function modify_tls Ref: https://pagure.io/freeipa/issue/8560 Reviewed-By: Mohammad Rizwan Yusuf Reviewed-By: Florence Blanc-Renaud --- ipatests/test_integration/test_ipahealthcheck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_ipahealthcheck.py b/ipatests/test_integration/test_ipahealthcheck.py index ac99d8bf8..72bd00038 100644 --- a/ipatests/test_integration/test_ipahealthcheck.py +++ b/ipatests/test_integration/test_ipahealthcheck.py @@ -1006,9 +1006,10 @@ class TestIpaHealthCheck(IntegrationTest): assert check["result"] == "CRITICAL" assert exception_msg in check["kw"]["exception"] + @pytest.fixture def modify_tls(self, restart_service): """ - Modify DS tls version to TLS1.0 using dsconf tool and + Fixture to modify DS tls version to TLS1.0 using dsconf tool and revert back to the default TLS1.2 """ instance = realm_to_serverid(self.master.domain.realm)