mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 09:00:33 +00:00
Fixes mock
This commit is contained in:
parent
b717c2fcd8
commit
6bc4bf4503
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class ActivitystreamsSignals(TestCase):
|
|||
|
||||
def test_populate_streams_on_account_create(self, _):
|
||||
"""create streams for a user"""
|
||||
with patch("bookwyrm.activitystreams.populate_stream_task") as mock:
|
||||
with patch("bookwyrm.activitystreams.populate_stream_task.delay") as mock:
|
||||
activitystreams.populate_streams_on_account_create(
|
||||
models.User, self.local_user, True
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue