python-pytest-harvest icon indicating copy to clipboard operation
python-pytest-harvest copied to clipboard

Move conftest to top-level

Open jtojnar opened this issue 1 year ago • 1 comments

This fixes the following error:

________________________ ERROR collecting test session _________________________
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.
  /build/pytest-harvest-1.10.4/pytest_harvest/conftest.py
Please move it to a top level conftest file at the rootdir:
  /build/pytest-harvest-1.10.4
For more information, visit:
  https://docs.pytest.org/en/stable/deprecations.html#pytest-plugins-in-non-top-level-conftest-files

jtojnar avatar Oct 18 '22 06:10 jtojnar