From 7307784d8ef099846f1b2d5553f8c0a381a0ef0b Mon Sep 17 00:00:00 2001 From: sarayourfriend Date: Fri, 23 Feb 2024 12:39:20 +1100 Subject: [PATCH] Fix mock failing on new call --- catalog/tests/dags/providers/test_provider_workflows.py | 1 + 1 file changed, 1 insertion(+) diff --git a/catalog/tests/dags/providers/test_provider_workflows.py b/catalog/tests/dags/providers/test_provider_workflows.py index c6f0a6ee17a..09cd3e0b643 100644 --- a/catalog/tests/dags/providers/test_provider_workflows.py +++ b/catalog/tests/dags/providers/test_provider_workflows.py @@ -91,6 +91,7 @@ def test_overrides(configuration_overrides, expected_overrides): with mock.patch("providers.provider_workflows.Variable") as MockVariable: MockVariable.get.side_effect = [ configuration_overrides, + MockVariable.get_original()[0], ] test_workflow = ProviderWorkflow( dag_id="my_dag_id",