Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fastiuk committed May 16, 2024
1 parent 9124a06 commit fbaa10a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/system-health/tests/test_system_health.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit fbaa10a

Please sign in to comment.