From 74bd61139a14a8790cc89e44a0e09779566a72c6 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 19 Apr 2012 11:42:56 +0900 Subject: [PATCH] fix unit test --- tests/test_cards.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_cards.py b/tests/test_cards.py index 8621d1ebd..acbf7fcfe 100644 --- a/tests/test_cards.py +++ b/tests/test_cards.py @@ -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()