Updated recent results test w/ +5 day tolerance
parent
c51f186419
commit
b15368ac28
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue