From f2a17c0f6ef4c43fd9e8cbf5ac80d05642103dfd Mon Sep 17 00:00:00 2001 From: Martin Molinero Date: Fri, 1 Mar 2024 14:50:40 -0300 Subject: [PATCH] Minor unit test fix --- tests/components/util/test_organization_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/components/util/test_organization_manager.py b/tests/components/util/test_organization_manager.py index 92c817a1..c91bd2e2 100644 --- a/tests/components/util/test_organization_manager.py +++ b/tests/components/util/test_organization_manager.py @@ -56,5 +56,5 @@ def test_organization_manager_sets_working_organization_id_in_lean_config(): organization_manager.configure_working_organization_id(organization_id) - lean_config_manager.set_properties.assert_called_with({"job-organization-id": organization_id}) - lean_config_manager.set_properties.assert_called_with({"organization-id": organization_id}) + lean_config_manager.set_properties.assert_has_calls(calls=[mock.call({"job-organization-id": organization_id}), + mock.call({"organization-id": organization_id})])