mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 01:21:07 +00:00
black formatting
This commit is contained in:
parent
6745a9a3f5
commit
514c54f30a
1 changed files with 6 additions and 1 deletions
|
@ -114,7 +114,12 @@ class StatusDisplayTags(TestCase):
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue