Refined a test case which could fail incorrectly when PersonFactory produced multiple persons who shared the same name during a test run, using TestCase.assertMailboxContains().
- Legacy-Id: 14140
This commit is contained in:
parent
1530a6c394
commit
a440a30f95
|
@ -591,4 +591,5 @@ class BulkAssignmentTests(TestCase):
|
|||
r = self.client.post(unassigned_url, postdict)
|
||||
self.assertEqual(r.status_code,302)
|
||||
self.assertEqual(expected_ending_head_of_rotation,reviewer_rotation_list(group)[0])
|
||||
self.assertEqual(len(outbox),4)
|
||||
self.assertMailboxContains(outbox, subject='Last Call assignment', text='Requested by', count=4)
|
||||
|
||||
|
|
Loading…
Reference in a new issue