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:
Leo Famulari 2016-10-15 20:25:07 -04:00
parent 2f87a77ff7
commit f76af41a76
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08

View File

@ -34,6 +34,14 @@
(base32
"1c5lv8qca21mndkx350wxv34qypqh6gb4rhzms4anr642clq3jg2"))))
(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
;; TODO: Add python-pam
`(("python-requests" ,python-requests)))