Skip to content

Commit a440a30

Browse files
committed
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
1 parent 1530a6c commit a440a30

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/group/tests_review.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,4 +591,5 @@ def test_rotation_queue_update(self):
591591
r = self.client.post(unassigned_url, postdict)
592592
self.assertEqual(r.status_code,302)
593593
self.assertEqual(expected_ending_head_of_rotation,reviewer_rotation_list(group)[0])
594-
self.assertEqual(len(outbox),4)
594+
self.assertMailboxContains(outbox, subject='Last Call assignment', text='Requested by', count=4)
595+

0 commit comments

Comments
 (0)