mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 00:50:35 +00:00
Python formatting
This commit is contained in:
parent
f9e9dc55d5
commit
41fb44a46a
1 changed files with 2 additions and 6 deletions
|
@ -101,9 +101,7 @@ class AnnualSummary(TestCase):
|
|||
def test_annual_summary_page(self, *_):
|
||||
"""there are so many views, this just makes sure it LOADS"""
|
||||
models.ReadThrough.objects.create(
|
||||
user=self.local_user,
|
||||
book=self.book,
|
||||
finish_date=make_date(2020, 1, 1)
|
||||
user=self.local_user, book=self.book, finish_date=make_date(2020, 1, 1)
|
||||
)
|
||||
|
||||
view = views.AnnualSummary.as_view()
|
||||
|
@ -130,9 +128,7 @@ class AnnualSummary(TestCase):
|
|||
)
|
||||
|
||||
models.ReadThrough.objects.create(
|
||||
user=self.local_user,
|
||||
book=self.book,
|
||||
finish_date=make_date(2020, 1, 1)
|
||||
user=self.local_user, book=self.book, finish_date=make_date(2020, 1, 1)
|
||||
)
|
||||
|
||||
view = views.AnnualSummary.as_view()
|
||||
|
|
Loading…
Reference in a new issue