#226 spec: add pytest-cov BR
Merged a year ago by frantisekz. Opened a year ago by kparal.

file modified
@@ -34,6 +34,7 @@ 


  BuildRequires:  python3-bodhi-client

  BuildRequires:  python3-pytest

+ BuildRequires:  python3-pytest-cov

  BuildRequires:  python3-devel >= 3.9

  BuildRequires:  python3-setuptools

  BuildRequires:  python3-munch

The build process was failing because pytest --cov* arguments are unknown when
the pytest-cov plugin is not installed. This will make the build process
understand the --cov* args. It will not measure test coverage, so this has no
performance impact.

Fixes: https://pagure.io/fedora-qa/blockerbugs/issue/217

Build succeeded.

Fixes the issue. Not 100.00 % perfect way to solve it, but since we aren't going to package this to Fedora, it doesn't matter.


Pull-Request has been merged by frantisekz

a year ago