Fixes call to mention_users

This commit is contained in:
Mouse Reeve
2021-02-06 12:06:45 -08:00
parent c7c975d695
commit ff721896c0
2 changed files with 11 additions and 2 deletions

View File

@ -88,6 +88,14 @@ class ActivitypubMixins(TestCase):
self.assertEqual(result, book)
def test_get_recipients(self):
''' determines the recipients for a broadcast '''
MockSelf = namedtuple('Self', ('privacy'))
mock_self = MockSelf('public')
ActivitypubMixin.get_recipients(mock_self)
# ObjectMixin
def test_to_create_activity(self):
''' wrapper for ActivityPub "create" action '''