fix from kostas

This commit is contained in:
Damien Elmes 2012-05-25 16:25:22 +09:00
parent f47a1a9d27
commit e20a98d9be

View file

@ -101,7 +101,7 @@ def test_templates():
# and should have updated the other cards' ordinals
c = f.cards()[0]
assert c.ord == 0
stripHTML(c.q()) == "2"
assert stripHTML(c.q()) == "1"
# it shouldn't be possible to orphan notes by removing templates
t = mm.newTemplate(m)
mm.addTemplate(m, t)