Updates test
This commit is contained in:
parent
f6fba19ac4
commit
3336fd0f11
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class StatusTransactions(TransactionTestCase):
|
||||||
with patch("bookwyrm.activitystreams.add_status_task.apply_async") as mock:
|
with patch("bookwyrm.activitystreams.add_status_task.apply_async") as mock:
|
||||||
view(request, "comment")
|
view(request, "comment")
|
||||||
|
|
||||||
self.assertEqual(mock.call_count, 2)
|
self.assertEqual(mock.call_count, 1)
|
||||||
|
|
||||||
|
|
||||||
@patch("bookwyrm.suggested_users.rerank_suggestions_task.delay")
|
@patch("bookwyrm.suggested_users.rerank_suggestions_task.delay")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue