[IMP] base_comment_template: Adapt to 14.0

This commit is contained in:
Víctor Martínez
2021-04-13 13:46:31 +02:00
parent 34333c4216
commit 85f9bc918e
11 changed files with 78 additions and 101 deletions

View File

@@ -7,9 +7,6 @@ from .fake_models import ResUsers, setup_test_model, teardown_test_model
class TestCommentTemplate(common.SavepointCase):
at_install = False
post_install = True
@classmethod
def setUpClass(cls):
super().setUpClass()
@@ -50,10 +47,12 @@ class TestCommentTemplate(common.SavepointCase):
def test_template_name_get(self):
self.assertEqual(
self.before_template_id.display_name, "Top template (Top)",
self.before_template_id.display_name,
"Top template (Top)",
)
self.assertEqual(
self.after_template_id.display_name, "Bottom template (Bottom)",
self.after_template_id.display_name,
"Bottom template (Bottom)",
)
def test_general_template(self):