summaryrefslogtreecommitdiff
path: root/addons/mail/tests/test_mail_gateway.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/tests/test_mail_gateway.py')
-rw-r--r--addons/mail/tests/test_mail_gateway.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/addons/mail/tests/test_mail_gateway.py b/addons/mail/tests/test_mail_gateway.py
index b8626ca1b3d..147d0ed6c81 100644
--- a/addons/mail/tests/test_mail_gateway.py
+++ b/addons/mail/tests/test_mail_gateway.py
@@ -1,11 +1,12 @@
# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from email.utils import formataddr
-
-from .common import TestMail
-from openerp.tools import mute_logger
import socket
+from odoo.addons.mail.tests.common import TestMail
+from odoo.tools import mute_logger
+
+
MAIL_TEMPLATE = """Return-Path: <whatever-2a840@postmaster.twitter.com>
To: {to}
cc: {cc}