HomeSoftware Heritage

tests: Fix execution when building debian packages

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

Description

tests: Fix execution when building debian packages

Recent changes in swh-web tests broke the debian package builds.

When building debian packages, the pytest command is not available in build
environment and must be executed through "python3 -m pytest" instead.

Debian buster packages a quite old version of pytest (3.10.1) and some
pytest hooks parameters and CLI options are missing compared to upstream
version so workaround these issues.

Also silent non critical warnings related to the use of hypothesis and
pytest function scoped fixtures as they add a lot of noise in pytest
reports.

Details

Provenance
anlambertAuthored on Oct 19 2021, 5:49 PM
anlambertPushed on Oct 20 2021, 11:29 AM
Differential Revision
D6511: tests: Fix execution when building debian packages
Build Status
Buildable 24563
Build 38327: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.