# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import odoo.tests from odoo import tools @odoo.tests.tagged('post_install', '-at_install') class TestUi(odoo.tests.HttpCase): def test_admin(self): self.env['blog.blog'].create({'name': 'Travel'}) self.env['ir.attachment'].create({ 'public': True, 'type': 'url', 'url': '/web/image/123/transparent.png', 'name': 'transparent.png', 'mimetype': 'image/png', }) self.start_tour("/", 'blog', login='admin')