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 14, 2024
1 parent e65d8eb commit 961ed0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sonic-chassisd/tests/test_chassisd.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ def test_smartswitch_moduleupdater_check_deinit():
module_updater.modules_num_update()
module_updater.module_db_update()
fvs = module_updater.module_table.get(name)
if isinstance(fvs, list):
fvs = dict(fvs[-1])
assert status == fvs[CHASSIS_MODULE_INFO_OPERSTATUS_FIELD]
# if isinstance(fvs, list):
# fvs = dict(fvs[-1])
# assert status == fvs[CHASSIS_MODULE_INFO_OPERSTATUS_FIELD]

module_table = module_updater.module_table
module_updater.deinit()
Expand Down

0 comments on commit 961ed0a

Please sign in to comment.