=== modified file 'lib/lp/services/job/runner.py'
--- lib/lp/services/job/runner.py	2010-02-24 21:44:38 +0000
+++ lib/lp/services/job/runner.py	2010-02-27 11:07:20 +0000
@@ -390,9 +390,10 @@
 class JobCronScript(LaunchpadCronScript):
     """Base class for scripts that run jobs."""
 
-    def __init__(self, runner_class=JobRunner):
+    def __init__(self, runner_class=JobRunner, test_args=None):
         self.dbuser = getattr(config, self.config_name).dbuser
-        super(JobCronScript, self).__init__(self.config_name, self.dbuser)
+        super(JobCronScript, self).__init__(
+            self.config_name, self.dbuser, test_args)
         self.runner_class = runner_class
 
     def main(self):

=== modified file 'lib/lp/services/job/tests/test_runner.py'
--- lib/lp/services/job/tests/test_runner.py	2010-02-24 19:52:01 +0000
+++ lib/lp/services/job/tests/test_runner.py	2010-02-27 11:07:36 +0000
@@ -351,7 +351,8 @@
             source_interface = IUpdatePreviewDiffJobSource
 
             def __init__(self):
-                super(JobCronScriptSubclass, self).__init__(DummyRunner)
+                super(JobCronScriptSubclass, self).__init__(
+                    DummyRunner, test_args=[])
                 self.logger = ListLogger()
 
         old_errorlog = errorlog.globalErrorUtility

