diff --git a/tests/process-reboot-cause_test.py b/tests/process-reboot-cause_test.py index 88246f5e..51603677 100644 --- a/tests/process-reboot-cause_test.py +++ b/tests/process-reboot-cause_test.py @@ -20,7 +20,7 @@ # Load the process-reboot-cause module using the helper function process_reboot_cause_path = os.path.join(scripts_path, "process-reboot-cause") -process_reboot_cause = load_module_from_source(process_reboot_cause_path) +process_reboot_cause = load_module_from_source('process_reboot_cause', process_reboot_cause_path) # Now proceed with your test class and mocks class TestProcessRebootCause(TestCase):