HomeSoftware Heritage

pytest: Exclude build directory for tests discovery\n\nDue to test modules…

Description

pytest: Exclude build directory for tests discovery\n\nDue to test modules being copied in subdirectories of the\nbuild directory by setuptools, it makes pytest fail by raising\nImportPathMismatchError exceptions when invoked from root\ndirectory of the module.\n\nSo ignore the build folder to discover tests.

Details

Provenance
anlambertAuthored on Mar 22 2022, 11:44 AM
anlambertPushed on Mar 22 2022, 11:44 AM
Parents
rDAUTH1003fbcb9426: pre-commit: Bump hooks and add new one to check commit message spelling
Branches
Unknown
Tags
Unknown
Build Status
Buildable 27655
Build 43289: test-and-buildJenkins console · Jenkins