From e20a98d9be1c95dbaae41a28ec4406dfd6248fe9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 25 May 2012 16:25:22 +0900 Subject: [PATCH] fix from kostas --- tests/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_models.py b/tests/test_models.py index 5bd080037..918c24f67 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -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)