fix unit test

This commit is contained in:
Damien Elmes 2012-04-19 11:42:56 +09:00
parent a3407020cb
commit 74bd61139a

View file

@ -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()