From 0dffaa5b6dbd9de9d2c1228918e99fcfe5838c62 Mon Sep 17 00:00:00 2001 From: Ramesh Raghupathy Date: Thu, 14 Nov 2024 07:00:20 -0800 Subject: [PATCH] Working on coverage --- sonic-chassisd/tests/test_chassisd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonic-chassisd/tests/test_chassisd.py b/sonic-chassisd/tests/test_chassisd.py index a5031df08..64aa5199e 100644 --- a/sonic-chassisd/tests/test_chassisd.py +++ b/sonic-chassisd/tests/test_chassisd.py @@ -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) @@ -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)