gnu: python-fixtures: Honor tests? in the check phase.
* gnu/packages/check.scm (python-fixtures)[arguments]: Adjust 'check phase to honor #:tests.
This commit is contained in:
parent
02fbd89f2b
commit
5037b08b93
1 changed files with 4 additions and 3 deletions
|
@ -1611,9 +1611,10 @@ (define-public python-fixtures
|
|||
'(#: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)
|
||||
|
|
Loading…
Reference in a new issue