Page MenuHomeSoftware Heritage

pytest_plugin declaration to top-level conftest
ClosedPublic

Authored by ardumont on Oct 22 2020, 1:45 PM.

Details

Summary

Defining 'pytest_plugins' in a non-top-level conftest is no longer supported
because it affects the entire directory tree in a non-explicit way.

(not really for review, just ensuring it's working ok in ci)

unstuck build [1]

[1] https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DCORE/job/gbp-buildpackage/138/console

Test Plan

tox

Event Timeline

Build is green

Patch application report for D4328 (id=15317)

Rebasing onto 97c091e04d...

Current branch diff-target is up to date.
Changes applied before test
commit 2c8971f16d802a85728af055ae360bea90dd77a5
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Oct 22 13:44:12 2020 +0200

    pytest_plugin declaration to top-level conftest
    
    Defining 'pytest_plugins' in a non-top-level conftest is no longer supported
    because it affects the entire directory tree in a non-explicit way.

See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/109/ for more details.

Build is green

Patch application report for D4328 (id=15318)

Rebasing onto 97c091e04d...

Current branch diff-target is up to date.
Changes applied before test
commit db31d8a0a665e039e9474ba0bec7a73c5fe3a4cd
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Oct 22 13:44:12 2020 +0200

    Move pytest_plugin declaration to top-level conftest
    
    Defining 'pytest_plugins' in a non-top-level conftest is no longer supported
    because it affects the entire directory tree in a non-explicit way.

See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/110/ for more details.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 22 2020, 1:51 PM
This revision was automatically updated to reflect the committed changes.