Skip to content

Commit

Permalink
Make test more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 5, 2024
1 parent 01ab23f commit cfc9fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion felt/test/test_recent_projects_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_pretty_date(self):
self.assertEqual(model.pretty_format_date(two_weeks_ago),
"2 weeks ago")

one_month_ago = now.addMonths(-1)
one_month_ago = now.addDays(-35)
self.assertEqual(model.pretty_format_date(one_month_ago),
"1 month ago")

Expand Down

0 comments on commit cfc9fe8

Please sign in to comment.