From a88a8429e2344ee9b6e7724f44b47a02641ef302 Mon Sep 17 00:00:00 2001 From: Julien Baley Date: Tue, 15 Apr 2014 17:39:09 +0100 Subject: [PATCH] Makes the test agree with the current behaviour of chained mod (cloze not always first) --- 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 22c5e088d..3db14e1c7 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -194,7 +194,7 @@ def test_chained_mods(): #We replace the default Cloze template t = mm.newTemplate("ChainedCloze") t['qfmt'] = "{{cloze:text:Text}}" - t['afmt'] = "{{text:cloze:Text}}" #independent of the order of mods + t['afmt'] = "{{cloze:text:Text}}" mm.addTemplate(m, t) mm.save(m) d.models.remTemplate(m, m['tmpls'][0])