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

pytest tests no longer works so remove pytest plugins cruft #451

Closed
robnagler opened this issue Mar 14, 2024 · 1 comment
Closed

pytest tests no longer works so remove pytest plugins cruft #451

robnagler opened this issue Mar 14, 2024 · 1 comment

Comments

@robnagler
Copy link
Member

robnagler commented Mar 14, 2024

___________________________________ 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.
  /home/vagrant/src/radiasoft/pykern/tests/pkcli/projex_work/proj1/tests/conftest.py
Please move it to a top level conftest file at the rootdir:
  /home/vagrant/src/radiasoft/pykern
For more information, visit:
  https://docs.pytest.org/en/stable/deprecations.html#pytest-plugins-in-non-top-level-conftest-files

There's a lot of cruft.

@robnagler robnagler changed the title pytest tests no longer works so remove pytest plugins cruft pytest tests no longer works so remove pytest plugins cruft Mar 14, 2024
robnagler added a commit that referenced this issue Mar 19, 2024
- Fix #453 pkcli.ci finds pyproject.toml or setup.py
- Partial #451 emptied pytest_plugin
- Converted README.md (from rst)
@robnagler
Copy link
Member Author

Fixed in #456

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

No branches or pull requests

1 participant