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

Disable plugin autoloading in the test suite #49

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Aug 24, 2023

Disable plugin autoloading in the test suite to prevent other installed plugins from interfering with the test results. This is particularly important since tests are run with cleared environment that could break other plugins (e.g. pytest-xvfb is broken by the lack of PATH).

Fixes #48

Disable plugin autoloading in the test suite to prevent other installed
plugins from interfering with the test results.  This is particularly
important since tests are run with cleared environment that could break
other plugins (e.g. pytest-xvfb is broken by the lack of PATH).

Fixes pytest-dev#48
@mgorny mgorny requested a review from gaborbernat as a code owner August 24, 2023 04:40
@gaborbernat gaborbernat merged commit 44432be into pytest-dev:main Aug 24, 2023
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.

The test suite breaks if some other pytest plugins are installed
2 participants