mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_favicon: Migrated to 10.0 (#459)
This commit is contained in:
committed by
Pedro M. Baeza
parent
ed69fa2a48
commit
ab90a5e0b5
@@ -3,9 +3,9 @@
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
import base64
|
||||
from openerp.tests.common import TransactionCase
|
||||
from openerp.tools.misc import file_open
|
||||
from openerp import http
|
||||
from odoo.tests.common import TransactionCase
|
||||
from odoo.tools.misc import file_open
|
||||
from odoo import http
|
||||
|
||||
|
||||
class FakeRequest(object):
|
||||
@@ -26,7 +26,7 @@ class TestWebFavicon(TransactionCase):
|
||||
def test_web_favicon(self):
|
||||
original_request = http.request
|
||||
http.request = FakeRequest(self.env)
|
||||
from openerp.addons.web_favicon.controllers.web_favicon import\
|
||||
from odoo.addons.web_favicon.controllers.web_favicon import\
|
||||
WebFavicon
|
||||
company = self.env['res.company'].search([], limit=1)
|
||||
# default icon
|
||||
|
||||
Reference in New Issue
Block a user