Skip to content

Define pytest_plugins at the root to support pytest 4.0

Defining 'pytest_plugins' in a non-top-level conftest is no longer supported:
It affects the entire test suite instead of just below the conftest as expected.
  /home/dev/swh-environment/swh-web/swh/web/tests/conftest.py
Please move it to a top level conftest file at the rootdir:
  /home/dev/swh-environment/swh-web
For more information, visit:
  https://docs.pytest.org/en/stable/deprecations.html#pytest-plugins-in-non-top-level-conftest-files

Migrated from D5504 (view on Phabricator)

Merge request reports