mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 16:40:36 +00:00
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)
|
recipients = ActivitypubMixin.get_recipients(mock_self)
|
||||||
self.assertEqual(len(recipients), 2)
|
self.assertEqual(len(recipients), 2)
|
||||||
self.assertEqual(recipients[0], another_remote_user.inbox)
|
self.assertTrue(another_remote_user.inbox in recipients)
|
||||||
self.assertEqual(recipients[1], self.remote_user.inbox)
|
self.assertTrue(self.remote_user.inbox in recipients)
|
||||||
|
|
||||||
def test_get_recipients_direct(self, _):
|
def test_get_recipients_direct(self, _):
|
||||||
""" determines the recipients for a user's object broadcast """
|
""" determines the recipients for a user's object broadcast """
|
||||||
|
|
Loading…
Reference in a new issue