Skip to content

Commit

Permalink
Adds 10k more books to book page test
Browse files Browse the repository at this point in the history
  • Loading branch information
mouse-reeve committed Aug 9, 2024
1 parent cf55a89 commit 0ff2fe9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bookwyrm/tests/views/books/test_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def setUpTestData(cls):
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()

Expand Down

0 comments on commit 0ff2fe9

Please sign in to comment.