mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05:00
fix unit test
This commit is contained in:
parent
a3407020cb
commit
74bd61139a
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ def test_genrem():
|
|||
# if the template is changed to remove cards, they'll be removed
|
||||
t['qfmt'] = "{{Back}}"
|
||||
mm.save(m, templates=True)
|
||||
d.remCards(d.emptyCids())
|
||||
assert len(f.cards()) == 1
|
||||
# if we add to the note, a card should be automatically generated
|
||||
f.load()
|
||||
|
|
|
|||
Loading…
Reference in a new issue