Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move conftest to top-level #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Move conftest to top-level #62

wants to merge 1 commit into from

Conversation

jtojnar
Copy link

@jtojnar jtojnar commented Oct 18, 2022

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

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
@smarie
Copy link
Owner

smarie commented Feb 26, 2023

Thanks @jtojnar !

Closing/Reopening PR to see the result of the CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants