mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
unittest: cards in learning are imported with 1 step left
This commit is contained in:
parent
56652c5066
commit
5cb858b02d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def test_upgrade1():
|
|||
# 3 new, 2 failed, 1 due
|
||||
deck.reset()
|
||||
deck.conf['counts'] = COUNT_REMAINING
|
||||
assert deck.sched.counts() == (3,4,1)
|
||||
assert deck.sched.counts() == (3,2,1)
|
||||
# modifying each note should not cause new cards to be generated
|
||||
assert deck.cardCount() == 6
|
||||
for nid in deck.db.list("select id from notes"):
|
||||
|
|
Loading…
Reference in a new issue