diff mbox

[Branch,~linaro-validation/lava-scheduler/trunk] Rev 13: fix the test

Message ID 20110706224229.3582.45685.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson July 6, 2011, 10:42 p.m. UTC
------------------------------------------------------------
revno: 13
committer: Michael-Doyle Hudson <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Thu 2011-07-07 10:39:01 +1200
message:
  fix the test
modified:
  lava_scheduler_app/tests.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
diff mbox

Patch

=== modified file 'lava_scheduler_app/tests.py'
--- lava_scheduler_app/tests.py	2011-07-06 22:26:43 +0000
+++ lava_scheduler_app/tests.py	2011-07-06 22:39:01 +0000
@@ -236,7 +236,7 @@ 
 
     def test_jobCompleted_set_statuses(self):
         device, job = self.get_device_and_running_job()
-        DatabaseJobSource().jobCompleted_impl('panda01')
+        DatabaseJobSource().jobCompleted_impl('panda01', None)
         job = TestJob.objects.get(pk=job.pk)
         device = Device.objects.get(pk=device.pk)
         self.assertEqual(