HomeSoftware Heritage

pytest: Exclude build directory for tests discovery

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

pytest: Exclude build directory for tests discovery

Due to test modules being copied in subdirectories of the
build directory by setuptools, it makes pytest fail by raising
ImportPathMismatchError exceptions when invoked from root
directory of the module.

So ignore the build folder to discover tests.

Details

Provenance
anlambertAuthored on Mar 22 2022, 11:57 AM
anlambertPushed on Mar 22 2022, 11:57 AM
Build Status
Buildable 27666
Build 43301: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.