Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hughrun committed Sep 19, 2024
1 parent 6745a9a commit 514c54f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bookwyrm/tests/templatetags/test_status_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ def test_get_published_date(self, *_):
with patch("django.utils.timezone.now") as timezone_mock:
timezone_mock.return_value = datetime.datetime(
# bookwyrm-social#3365: bug with exact month deltas
2022, 3, 1, 0, 0, tzinfo=datetime.timezone.utc
2022,
3,
1,
0,
0,
tzinfo=datetime.timezone.utc,
)
result = status_display.get_published_date(date)
self.assertEqual(result, "January 1")

0 comments on commit 514c54f

Please sign in to comment.