From b090490cd97bb924f4551184136e8c61b572c816 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 30 Dec 2021 12:06:22 -0800 Subject: [PATCH] Revert test of add list on create command --- bookwyrm/tests/lists_stream/test_signals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/tests/lists_stream/test_signals.py b/bookwyrm/tests/lists_stream/test_signals.py index f081dfd5..2b48ef9b 100644 --- a/bookwyrm/tests/lists_stream/test_signals.py +++ b/bookwyrm/tests/lists_stream/test_signals.py @@ -30,13 +30,13 @@ class ListsStreamSignals(TestCase): outbox="https://example.com/users/rat/outbox", ) - def test_add_list_on_create(self, _): + def test_add_list_on_create_command(self, _): """a new lists has entered""" book_list = models.List.objects.create( user=self.remote_user, name="hi", privacy="public" ) with patch("bookwyrm.lists_stream.add_list_task.delay") as mock: - lists_stream.add_list_on_create(models.List, book_list, True) + lists_stream.add_list_on_create_command(book_list) self.assertEqual(mock.call_count, 1) args = mock.call_args[0] self.assertEqual(args[0], book_list.id)