We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8762717 commit ddf58ccCopy full SHA for ddf58cc
sonic-chassisd/tests/test_chassisd.py
@@ -2169,8 +2169,7 @@ def test_submit_dpu_callback():
2169
def test_admin_state_exception_coverage():
2170
"""Test exception handling paths to improve code coverage"""
2171
chassis = MockChassis()
2172
- daemon = ChassisModuleBase(SYSLOG_IDENTIFIER)
2173
- daemon.chassis = chassis
+ daemon = ChassisdDaemon(SYSLOG_IDENTIFIER, chassis)
2174
2175
mock_module = MagicMock()
2176
mock_module.module_pre_shutdown = MagicMock(return_value=False)
0 commit comments