This commit is contained in:
Serene-Arc 2023-01-07 17:21:54 +10:00
parent d18c30b481
commit 9b23082a78

View File

@ -254,7 +254,7 @@ def test_get_subreddit_time_verification(
for r in results:
result_time = datetime.fromtimestamp(r.created_utc)
time_diff = nowtime - result_time
assert abs(time_diff - test_delta) < timedelta(minutes=1)
assert time_diff < (test_delta + timedelta(minutes=1))
@pytest.mark.online