Skip to content

Commit

Permalink
working on coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
rameshraghupathy committed Nov 19, 2024
1 parent d982499 commit 3ca60cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonic-chassisd/tests/test_chassisd.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def test_smartswitch_moduleupdater_status_transitions():
as mock_retrieve_reboot_time, \
patch.object(module_updater, '_is_first_boot', return_value=False) as mock_is_first_boot, \
patch.object(module_updater, 'persist_dpu_reboot_cause') as mock_persist_reboot_cause, \
patch.object(module_updater, 'update_dpu_reboot_cause_to_db') as mock_update_reboot_db:
patch.object(module_updater, 'update_dpu_reboot_cause_to_db') as mock_update_reboot_db, \
patch("os.makedirs") as mock_makedirs:

# Transition from ONLINE to OFFLINE
offline_status = ModuleBase.MODULE_STATUS_OFFLINE
Expand Down

0 comments on commit 3ca60cf

Please sign in to comment.