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

Move conftest to top-level

Open jtojnar opened this issue 3 years ago • 1 comments

Same as https://github.com/smarie/python-pytest-harvest/pull/62

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-steps-1.8.0/pytest_steps/conftest.py
Please move it to a top level conftest file at the rootdir:
  /build/pytest-steps-1.8.0
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 07:10 jtojnar

Thanks @jtojnar !

Closing/Reopening PR to see the result of the CI

smarie avatar Feb 26 '23 14:02 smarie