Updated handling of parser error in results test
This commit is contained in:
parent
1de026815a
commit
387e19bba6
|
@ -64,4 +64,4 @@ def test_recent_results(client):
|
|||
date = parse(date_span)
|
||||
assert (current_date - date).days <= (num_days + 5) # Date can have a little bit of wiggle room
|
||||
except ParserError:
|
||||
assert ' ago' in date_span
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user