mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
Merge pull request #356 from Arthur-Milchior/correctNewTemplateTest
Another unimportant test error
This commit is contained in:
commit
a6327630f5
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ def test_templates():
|
|||
assert c.ord == 0
|
||||
assert stripHTML(c.q()) == "1"
|
||||
# it shouldn't be possible to orphan notes by removing templates
|
||||
t = mm.newTemplate(m)
|
||||
t = mm.newTemplate("template name")
|
||||
mm.addTemplate(m, t)
|
||||
assert not d.models.remTemplate(m, m['tmpls'][0])
|
||||
|
||||
|
|
Loading…
Reference in a new issue