Skip to content

Commit

Permalink
Add test for in 1d (#1104)
Browse files Browse the repository at this point in the history
Close #863
  • Loading branch information
serhii73 committed Dec 21, 2022
1 parent 2fe56a4 commit 3bd27fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_freshness_date_parser.py
Expand Up @@ -1112,6 +1112,7 @@ def test_normalized_relative_dates(self, date_string, ago, period):
param('in an hour', in_future={'hours': 1}, period='day'),
param('in about an hour', in_future={'hours': 1}, period='day'),
param('in 1 day', in_future={'days': 1}, period='day'),
param('in 1d', in_future={'days': 1}, period='day'),
param('in a week', in_future={'weeks': 1}, period='week'),
param('in 2 hours', in_future={'hours': 2}, period='day'),
param('in about 23 hours', in_future={'hours': 23}, period='day'),
Expand Down

0 comments on commit 3bd27fc

Please sign in to comment.