Makes the test agree with the current behaviour of chained mod (cloze not always first)

This commit is contained in:
Julien Baley 2014-04-15 17:39:09 +01:00
parent b65c7bc5ed
commit a88a8429e2

View file

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