forked from mirrors/bookwyrm
Fixes nondeterministic test outcome
This commit is contained in:
parent
e9dc63e296
commit
cfa424ca59
1 changed files with 2 additions and 2 deletions
|
@ -155,8 +155,8 @@ class ActivitypubMixins(TestCase):
|
|||
|
||||
recipients = ActivitypubMixin.get_recipients(mock_self)
|
||||
self.assertEqual(len(recipients), 2)
|
||||
self.assertEqual(recipients[0], another_remote_user.inbox)
|
||||
self.assertEqual(recipients[1], self.remote_user.inbox)
|
||||
self.assertTrue(another_remote_user.inbox in recipients)
|
||||
self.assertTrue(self.remote_user.inbox in recipients)
|
||||
|
||||
def test_get_recipients_direct(self, _):
|
||||
""" determines the recipients for a user's object broadcast """
|
||||
|
|
Loading…
Reference in a new issue