From 5e718a59a184d98a3c3429ea2fa9c343fb2c92f0 Mon Sep 17 00:00:00 2001 From: Serhii A Date: Fri, 25 Nov 2022 15:16:16 +0200 Subject: [PATCH] Add test for `in 1d` (#1104) Close #863 --- tests/test_freshness_date_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_freshness_date_parser.py b/tests/test_freshness_date_parser.py index 502083448..13193082c 100644 --- a/tests/test_freshness_date_parser.py +++ b/tests/test_freshness_date_parser.py @@ -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'),