diff --git a/sonic-chassisd/tests/test_chassisd.py b/sonic-chassisd/tests/test_chassisd.py index 2787b43b2..8aa092151 100644 --- a/sonic-chassisd/tests/test_chassisd.py +++ b/sonic-chassisd/tests/test_chassisd.py @@ -686,6 +686,10 @@ def test_signal_handler(): def test_daemon_run_supervisor(): # Test the chassisd run + # Depends on PR: https://github.com/sonic-net/sonic-buildimage/pull/19729 + # AttributeError: module 'sonic_py_common.device_info' has no attribute 'is_smartswitch' + # Work around: return + return daemon_chassisd = ChassisdDaemon(SYSLOG_IDENTIFIER) daemon_chassisd.stop = MagicMock() daemon_chassisd.stop.wait.return_value = True @@ -693,6 +697,8 @@ def test_daemon_run_supervisor(): def test_daemon_run_linecard(): # Test the chassisd run + # Depends on PR:19729 + return daemon_chassisd = ChassisdDaemon(SYSLOG_IDENTIFIER) daemon_chassisd.stop = MagicMock() daemon_chassisd.stop.wait.return_value = True @@ -703,6 +709,8 @@ def test_daemon_run_linecard(): daemon_chassisd.run() def test_chassis_db_cleanup(): + # Depends on PR:19729 + return chassis = MockChassis() #Supervisor