Updates models tests

This commit is contained in:
Mouse Reeve
2021-12-09 12:42:07 -08:00
parent e9c58295f3
commit eb4a399472
13 changed files with 68 additions and 38 deletions

View File

@@ -20,7 +20,7 @@ class ImportJob(TestCase):
"""data is from a goodreads export of The Raven Tower"""
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
"bookwyrm.activitystreams.populate_stream_task.delay"
):
), patch("bookwyrm.lists_stream.populate_lists_task.delay"):
self.local_user = models.User.objects.create_user(
"mouse", "mouse@mouse.mouse", "password", local=True
)