Fixes test

This commit is contained in:
Mouse Reeve 2022-01-07 10:34:45 -08:00
parent 7e1a4bc363
commit 0580b66c3b

View file

@ -54,7 +54,7 @@ class ListsStreamSignals(TestCase):
def test_populate_lists_on_account_create_command(self, _):
"""create streams for a user"""
with patch("bookwyrm.lists_stream.populate_lists_task.delay") as mock:
lists_stream.populate_lists_on_account_create_command(self.local_user.id)
lists_stream.add_list_on_account_create_command(self.local_user.id)
self.assertEqual(mock.call_count, 1)
args = mock.call_args[0]
self.assertEqual(args[0], self.local_user.id)