Skip to content

Commit

Permalink
Fixed the numbeer of arguments to load_module_from_source
Browse files Browse the repository at this point in the history
  • Loading branch information
rameshraghupathy committed Dec 12, 2024
1 parent dffedc8 commit fefff1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/process-reboot-cause_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit fefff1a

Please sign in to comment.