HomeSoftware Heritage

Define pytest_plugins at the root to support pytest 4.0

Description

Define pytest_plugins at the root to support pytest 4.0

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/dev/swh-environment/swh-web/swh/web/tests/conftest.py
Please move it to a top level conftest file at the rootdir:
  /home/dev/swh-environment/swh-web
For more information, visit:
  https://docs.pytest.org/en/stable/deprecations.html#pytest-plugins-in-non-top-level-conftest-files

Details

Provenance
vlorentzAuthored on Apr 13 2021, 8:35 PM
vlorentzPushed on Apr 15 2021, 10:14 AM
Differential Revision
D5504: Define pytest_plugins at the root to support pytest 4.0
Parents
rDWAPPS4c487ce6ac73: cypress: Upgrade to 7.x
Branches
Unknown
Tags
Unknown
Build Status
Buildable 20745
Build 32197: test-and-buildJenkins console · Jenkins