[IMP] web_favicon: Use relative import

pull/1605/head
Pedro M. Baeza 2020-04-23 09:39:37 +02:00
parent 67303731e6
commit 6feaf58d4c
1 changed files with 1 additions and 2 deletions

View File

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