gnu: radicale: Run the test suite with py.test.
* gnu/packages/dav.scm (radicale)[native-inputs]: Add python-pytest. [arguments]: Replace the 'check' phase and run the tests with python-pytest.
This commit is contained in:
parent
2f87a77ff7
commit
f76af41a76
|
@ -34,6 +34,14 @@
|
||||||
(base32
|
(base32
|
||||||
"1c5lv8qca21mndkx350wxv34qypqh6gb4rhzms4anr642clq3jg2"))))
|
"1c5lv8qca21mndkx350wxv34qypqh6gb4rhzms4anr642clq3jg2"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(zero? (system* "py.test")))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-pytest" ,python-pytest)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; TODO: Add python-pam
|
;; TODO: Add python-pam
|
||||||
`(("python-requests" ,python-requests)))
|
`(("python-requests" ,python-requests)))
|
||||||
|
|
Loading…
Reference in New Issue