Fix tests
This commit is contained in:
parent
866f6c8083
commit
d88745f46b
11 changed files with 35 additions and 116 deletions
|
@ -212,7 +212,7 @@ class GroupTest(TestCaseWithCeleryTasks):
|
|||
group.delete()
|
||||
self.assertEqual(len(Group.objects.all()), 0)
|
||||
self.assertEqual(len(TaskResult.objects.all()), 2)
|
||||
tr = TaskResult.objects.first()
|
||||
tr = TaskResult.objects.order_by("created").first()
|
||||
self.assertEqual(tr.creator, "handle_group_created")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue