fix unit test

This commit is contained in:
Damien Elmes 2012-05-05 01:29:54 +09:00
parent 47e8e3d718
commit 7c95b00253

View file

@ -462,7 +462,7 @@ def test_suspend():
assert c.type == 2 assert c.type == 2
assert c.due == 1 assert c.due == 1
# should cope with cards in cram decks # should cope with cards in cram decks
c.due = 0 c.due = 1
c.flush() c.flush()
cram = d.decks.newDyn("tmp") cram = d.decks.newDyn("tmp")
d.sched.rebuildDyn() d.sched.rebuildDyn()