Merge pull request #356 from Arthur-Milchior/correctNewTemplateTest

Another unimportant test error
This commit is contained in:
Damien Elmes 2019-11-28 09:18:24 +13:00 committed by GitHub
commit a6327630f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ def test_templates():
assert c.ord == 0 assert c.ord == 0
assert stripHTML(c.q()) == "1" assert stripHTML(c.q()) == "1"
# it shouldn't be possible to orphan notes by removing templates # it shouldn't be possible to orphan notes by removing templates
t = mm.newTemplate(m) t = mm.newTemplate("template name")
mm.addTemplate(m, t) mm.addTemplate(m, t)
assert not d.models.remTemplate(m, m['tmpls'][0]) assert not d.models.remTemplate(m, m['tmpls'][0])