mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22: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
|
#We replace the default Cloze template
|
||||||
t = mm.newTemplate("ChainedCloze")
|
t = mm.newTemplate("ChainedCloze")
|
||||||
t['qfmt'] = "{{cloze:text:Text}}"
|
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.addTemplate(m, t)
|
||||||
mm.save(m)
|
mm.save(m)
|
||||||
d.models.remTemplate(m, m['tmpls'][0])
|
d.models.remTemplate(m, m['tmpls'][0])
|
||||||
|
|
Loading…
Reference in a new issue