correction

This commit is contained in:
Arthur Milchior 2019-11-27 08:09:30 +01:00
parent 41fdbc8394
commit 984d39fd6b

View File

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