Updated recent results test w/ +5 day tolerance

main
Ben Busby 2020-05-20 11:07:01 -06:00
parent c51f186419
commit b15368ac28
1 changed files with 1 additions and 1 deletions

View File

@ -62,6 +62,6 @@ def test_recent_results(client):
try:
date = parse(date_span)
assert (current_date - date).days <= num_days
assert (current_date - date).days <= (num_days + 5) # Date can have a little bit of wiggle room
except ParserError:
assert ' ago' in date_span