Skip to content

Commit

Permalink
tests(test_freshness_date_parser.py): add test case for french + engl…
Browse files Browse the repository at this point in the history
…ish string (#1110)

The parser shouldn't scrape such a case.
  • Loading branch information
gutsytechster authored Dec 29, 2022
1 parent 7542d39 commit d28fd0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_freshness_date_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1491,6 +1491,7 @@ def test_relative_future_dates(self, date_string, in_future, period):

@parameterized.expand([
param('15th of Aug, 2014 Diane Bennett'),
param('4 heures ago'),
])
def test_insane_dates(self, date_string):
self.given_parser()
Expand Down

0 comments on commit d28fd0d

Please sign in to comment.