From fbaa10a6ba4bcfee01eef87f2d9feac6bd9647d1 Mon Sep 17 00:00:00 2001 From: Yevhen Fastiuk Date: Sat, 4 May 2024 21:58:44 +0300 Subject: [PATCH] Fix tests --- src/system-health/tests/test_system_health.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system-health/tests/test_system_health.py b/src/system-health/tests/test_system_health.py index 6c8921e6da74..1d7c3e85ef6c 100644 --- a/src/system-health/tests/test_system_health.py +++ b/src/system-health/tests/test_system_health.py @@ -743,6 +743,8 @@ def test_system_status_up_after_service_removed(): @patch('health_checker.sysmonitor.Sysmonitor.get_all_service_list', MagicMock(return_value=['mock_snmp.service'])) +@patch('health_checker.sysmonitor.Sysmonitor.print_console_message', + MagicMock()) def test_check_unit_status_timer(): sysmon = Sysmonitor() sysmon.monitor_timeout = MagicMock()