From f4ca1392d43ed9aa94ebdcb92991e652e9c0ece0 Mon Sep 17 00:00:00 2001 From: Jose Boucourt Date: Fri, 16 Aug 2024 13:53:14 +0000 Subject: [PATCH] Updating --- tests/conftest.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index ac14a9e..533f349 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -80,9 +80,7 @@ def nested_setup(): def mock_vault_workers(): mock_dynamic_renew = Mock() mock_k8s_renew = Mock() - with patch("gestalt.vault.Thread", - side_effect=[mock_dynamic_renew, mock_k8s_renew]): - yield (mock_dynamic_renew, mock_k8s_renew) + return (mock_dynamic_renew, mock_k8s_renew) @pytest.fixture