Adds saved list view test

This commit is contained in:
Mouse Reeve
2021-12-10 09:53:17 -08:00
parent f7c8a550cf
commit b890e93533
2 changed files with 16 additions and 15 deletions

View File

@ -49,8 +49,6 @@ class Activitystreams(TestCase):
def test_populate_streams(self, *_):
"""make sure the function on the redis manager gets called"""
with patch(
"bookwyrm.lists_stream.populate_lists_task.delay"
) as list_mock:
with patch("bookwyrm.lists_stream.populate_lists_task.delay") as list_mock:
populate_lists_streams()
self.assertEqual(list_mock.call_count, 2) # 2 users