mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Makes the test agree with the current behaviour of chained mod (cloze not always first)
This commit is contained in:
parent
b65c7bc5ed
commit
a88a8429e2
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue