Merge pull request #73 from julienbaley/chained_mod_test

Makes the test agree with the current behaviour of chained mod
This commit is contained in:
Damien Elmes 2014-04-16 01:48:14 +09:00
commit f6866e204a

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