From 0ff2fe9d80b47fe3008fc94eb6f548c792f432ef Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 9 Aug 2024 15:59:48 -0700 Subject: [PATCH] Adds 10k more books to book page test --- bookwyrm/tests/views/books/test_book.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/tests/views/books/test_book.py b/bookwyrm/tests/views/books/test_book.py index c89120839..042d9fcf0 100644 --- a/bookwyrm/tests/views/books/test_book.py +++ b/bookwyrm/tests/views/books/test_book.py @@ -53,6 +53,8 @@ class BookViews(TestCase): remote_id="https://example.com/book/1", parent_work=cls.work, ) + for i in range(10000): + models.Edition.objects.create(title=i, parent_work=cls.work) models.SiteSettings.objects.create()