Fixed bad test assertion

Was previously checking for non-inclusive max number of days (i.e.
filtering by past month would return a failed test if the result was
from exactly 31 days ago)
このコミットが含まれているのは:
Ben Busby 2020-04-24 18:10:57 -06:00
コミット 9c7b4c1444
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -50,6 +50,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
except ParserError:
assert ' ago' in date_span