me
/
guix
Archived
1
0
Fork 0

gnu: python-fixtures: Honor tests? in the check phase.

* gnu/packages/check.scm (python-fixtures)[arguments]: Adjust 'check
phase to honor #:tests.
Efraim Flashner 2021-08-11 16:14:55 +03:00
parent 02fbd89f2b
commit 5037b08b93
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 3 deletions

View File

@ -1611,9 +1611,10 @@ python-fixtures package instead.")
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "python" "-m" "testtools.run"
"fixtures.test_suite"))))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "testtools.run"
"fixtures.test_suite")))))))
(propagated-inputs
;; Fixtures uses pbr at runtime to check versions, etc.
`(("python-pbr" ,python-pbr)