From 984d39fd6b17d1c6472c831e1ca654de894de038 Mon Sep 17 00:00:00 2001 From: Arthur Milchior Date: Wed, 27 Nov 2019 08:09:30 +0100 Subject: [PATCH] correction --- tests/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_models.py b/tests/test_models.py index 29d238830..a3bebfd97 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -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])