test: remove conftest addon installation fixture
This commit is contained in:
parent
ab2918d031
commit
882e948679
1 changed files with 0 additions and 14 deletions
14
conftest.py
14
conftest.py
|
|
@ -1,14 +0,0 @@
|
||||||
"""
|
|
||||||
pytest configuration for itsulu-blog-publisher tests.
|
|
||||||
Ensures the addon is installed into the test database before tests run.
|
|
||||||
"""
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope='session', autouse=True)
|
|
||||||
def install_addon(env):
|
|
||||||
"""Install itsulu_blog_publisher and dependencies before tests run."""
|
|
||||||
env['ir.module.module'].search([
|
|
||||||
('name', 'in', ['base', 'website', 'website_blog', 'mail', 'itsulu_blog_publisher'])
|
|
||||||
]).button_install()
|
|
||||||
env.cr.commit()
|
|
||||||
Loading…
Reference in a new issue