Fixes AC-402. Fix issues arising from unit tests.

This commit is contained in:
Chris Church
2013-09-05 07:57:44 -04:00
parent 567aef5d1e
commit 2e03a646a5
7 changed files with 32 additions and 34 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ class CleanupJobsTest(BaseCommandMixin, BaseLiveServerTest):
job_template = self.create_test_job_template()
job = self.create_test_job(job_template=job_template)
self.assertEqual(job.status, 'new')
self.assertFalse(job.get_passwords_needed_to_start())
self.assertFalse(job.passwords_needed_to_start)
self.assertTrue(job.start())
self.assertEqual(job.status, 'pending')
job = Job.objects.get(pk=job.pk)