[IMP] web_favicon: Use relative import

pull/2770/head
Pedro M. Baeza 2020-04-23 09:39:37 +02:00 committed by Daryl Chen
parent 6e7e8502d3
commit b3dfde201b
1 changed files with 1 additions and 2 deletions

View File

@ -25,8 +25,7 @@ class TestWebFavicon(TransactionCase):
def test_web_favicon(self): def test_web_favicon(self):
original_request = http.request original_request = http.request
http.request = FakeRequest(self.env) http.request = FakeRequest(self.env)
from odoo.addons.web_favicon.controllers.web_favicon import\ from ..controllers.web_favicon import WebFavicon
WebFavicon
company = self.env['res.company'].search([], limit=1) company = self.env['res.company'].search([], limit=1)
# default icon # default icon
company.write({ company.write({