From 82075449f083c1033d7a9bf3b2a019cf0ea40c25 Mon Sep 17 00:00:00 2001 From: PSala Date: Wed, 4 Oct 2023 09:48:02 +0200 Subject: [PATCH] Revert "Revert "minor change"" --- tests/test_poweremail_templates.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_poweremail_templates.py b/tests/test_poweremail_templates.py index dc1b2f0..6d11ecf 100644 --- a/tests/test_poweremail_templates.py +++ b/tests/test_poweremail_templates.py @@ -29,7 +29,6 @@ def create_account(self, extra_vals=None): return acc_id def create_template(self, extra_vals=None): - imd_obj = self.openerp.pool.get('ir.model.data') tmpl_obj = self.openerp.pool.get('poweremail.templates') cursor = self.cursor @@ -96,4 +95,4 @@ def test_send_wizards_gets_default_priority_from_template(self): 'template_id': tmpl_id }) wiz = send_obj.browse(cursor, uid, wiz_id) - self.assertEqual(wiz.priority, '2') \ No newline at end of file + self.assertEqual(wiz.priority, '2')