We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef86b53 commit e47d831Copy full SHA for e47d831
tests/determine-reboot-cause_test.py
@@ -168,6 +168,6 @@ def test_determine_reboot_cause_software_hardware(self):
168
with mock.patch("determine_reboot_cause.find_software_reboot_cause", return_value=EXPECTED_FIND_SOFTWARE_REBOOT_CAUSE_USER):
169
with mock.patch("determine_reboot_cause.find_hardware_reboot_cause", return_value=EXPECTED_HARDWARE_REBOOT_CAUSE):
170
previous_reboot_cause, additional_info = determine_reboot_cause.determine_reboot_cause()
171
- assert previous_reboot_cause == REBOOT_CAUSE_WATCHDOG
+ assert previous_reboot_cause == EXPECTED_HARDWARE_REBOOT_CAUSE
172
assert additional_info == EXPECTED_FIND_SOFTWARE_REBOOT_CAUSE_USER
173
0 commit comments