From fe7beba3031a2d72d6513dfa1fe2763f0a7420ee Mon Sep 17 00:00:00 2001 From: Rik Bouwmeester Date: Fri, 25 Oct 2024 15:05:04 +0200 Subject: [PATCH] Use assertEqual instead of deprecated assertEquals --- test/utils/test_param_file_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils/test_param_file_helper.py b/test/utils/test_param_file_helper.py index a06a8c953..4f8666cb2 100644 --- a/test/utils/test_param_file_helper.py +++ b/test/utils/test_param_file_helper.py @@ -116,5 +116,5 @@ def mock_wait(self, timeout=None): with patch.object(Event, 'wait', new=mock_wait): # Test and Assert self.assertTrue(helper.store_params_from_file('test/utils/fixtures/five_params.yaml')) - self.assertEquals(5, len(mock_Param.set_value.mock_calls)) - self.assertEquals(5, len(mock_Param.persistent_store.mock_calls)) + self.assertEqual(5, len(mock_Param.set_value.mock_calls)) + self.assertEqual(5, len(mock_Param.persistent_store.mock_calls))