Prefs mocks

This commit is contained in:
Mouse Reeve
2021-12-09 20:30:53 -08:00
parent acde30887d
commit 5e6b28bbc0
2 changed files with 7 additions and 3 deletions

View File

@ -31,7 +31,7 @@ class BaseActivity(TestCase):
"""we're probably going to re-use this so why copy/paste"""
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.user = models.User.objects.create_user(
"mouse", "mouse@mouse.mouse", "mouseword", local=True, localname="mouse"
)