[Branch,~linaro-validation/lava-scheduler/trunk] Rev 218: fix the daemon tests

Message ID 20121004214517.9958.29652.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson Oct. 4, 2012, 9:45 p.m.
------------------------------------------------------------
revno: 218
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Fri 2012-10-05 10:44:25 +1300
message:
  fix the daemon tests
  (that the errors were so obscure for such a simple problem is Not Good)
modified:
  lava_scheduler_daemon/tests/test_board.py


--
lp:lava-scheduler
https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk

You are subscribed to branch lp:lava-scheduler.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription

Patch

=== modified file 'lava_scheduler_daemon/tests/test_board.py'
--- lava_scheduler_daemon/tests/test_board.py	2012-03-27 02:57:52 +0000
+++ lava_scheduler_daemon/tests/test_board.py	2012-10-04 21:44:25 +0000
@@ -36,7 +36,7 @@ 
 
 class TestJob(object):
 
-    def __init__(self, job_data, dispatcher, source, board_name, reactor, options):
+    def __init__(self, job_data, dispatcher, source, board_name, reactor, options, use_celery):
         self.json_data = job_data
         self.dispatcher = dispatcher
         self.reactor = reactor