diff --git a/addons/itsulu_blog_publisher/tests/conftest.py b/addons/itsulu_blog_publisher/tests/conftest.py deleted file mode 100644 index 5485c34..0000000 --- a/addons/itsulu_blog_publisher/tests/conftest.py +++ /dev/null @@ -1,7 +0,0 @@ -import pytest - - -@pytest.fixture -def odoo_env(env): - """Re-export pytest-odoo's env fixture for use in pytest-bdd step definitions.""" - return env diff --git a/conftest.py b/conftest.py index d105862..9d18efc 100644 --- a/conftest.py +++ b/conftest.py @@ -4,6 +4,13 @@ Installs the addon into the test database before any test code runs. """ import subprocess import sys +import pytest + + +@pytest.fixture +def odoo_env(env): + """Re-export pytest-odoo's env fixture for use in pytest-bdd step definitions.""" + return env print(">>> conftest.py loaded", file=sys.stderr)