[IMP] website_blog: Adapt tests to work with/without demo data
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
# -*- 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.start_tour("/", 'blog', login='admin')
|
||||
self.env['blog.blog'].create({'name': 'Travel'})
|
||||
self.start_tour("/", 'blog', login='admin', step_delay=200)
|
||||
|
||||
Reference in New Issue
Block a user