Fix tests
This commit is contained in:
parent
866f6c8083
commit
d88745f46b
11 changed files with 35 additions and 116 deletions
|
@ -32,7 +32,7 @@ class FetchTaskResultsCommandTest(TestCase):
|
|||
aresult.state = "PENDING"
|
||||
aresult.ready.return_value = False
|
||||
|
||||
Command().handle()
|
||||
Command().handle(verbosity=0)
|
||||
|
||||
tr = TaskResult.objects.get(task_id=TEST_TASK_UUID)
|
||||
self.assertTrue(asyncresult.called_with(TEST_TASK_UUID))
|
||||
|
@ -55,7 +55,7 @@ class FetchTaskResultsCommandTest(TestCase):
|
|||
aresult.ready.return_value = True
|
||||
aresult.get.return_value = TEST_TASK_RESULT
|
||||
|
||||
Command().handle()
|
||||
Command().handle(verbosity=0)
|
||||
|
||||
tr = TaskResult.objects.get(task_id=TEST_TASK_UUID)
|
||||
self.assertTrue(asyncresult.called_with(TEST_TASK_UUID))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue