diff --git a/tests/cron/test_scheduler.py b/tests/cron/test_scheduler.py index 0320d2fccbd5..ec8be4063131 100644 --- a/tests/cron/test_scheduler.py +++ b/tests/cron/test_scheduler.py @@ -3319,7 +3319,7 @@ class TestRunJobWakeGate: import cron.scheduler as scheduler call_count = 0 - def _script_stub(path): + def _script_stub(path, workdir=None, **kwargs): nonlocal call_count call_count += 1 return (True, "regular output")