mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
add an extra second to a unit test
This commit is contained in:
parent
87cd119216
commit
e0de3d6b8c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue