add an extra second to a unit test

This commit is contained in:
Damien Elmes 2020-04-24 19:17:57 +10:00
parent 87cd119216
commit e0de3d6b8c

View File

@ -332,7 +332,7 @@ def test_reviews():
# but because it's in the learn queue, its current due time should be in
# the future
assert c.due >= time.time()
assert (c.due - time.time()) > 119
assert (c.due - time.time()) > 118
# factor should have been decremented
assert c.factor == 2300
# check counters