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 a427236 commit 0dffaa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sonic-chassisd/tests/test_chassisd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,7 @@ def mock_get_module(index):
mock_module_updater.get_module_admin_status.return_value = 'down'

# Set access of DPU0 Down
midplane_table = module_updater.midplane_table
module.set_midplane_reachable(False)
module_updater.check_midplane_reachability()
fvs = midplane_table.get(name)
Expand Down Expand Up @@ -1295,6 +1296,7 @@ def mock_get_module(index):
mock_module_updater.get_module_admin_status.return_value = 'up'

# Set access of DPU0 up
midplane_table = module_updater.midplane_table
module.set_midplane_reachable(True)
module_updater.check_midplane_reachability()
fvs = midplane_table.get(name)
Expand Down

0 comments on commit 0dffaa5

Please sign in to comment.