diff options
author | Leo Famulari <leo@famulari.name> | 2016-10-15 20:25:07 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2016-10-15 20:26:05 -0400 |
commit | f76af41a768512376d770c833e5317ff90d30cf2 (patch) | |
tree | bdf3e80f7095c7513a11d6824cb44b4de116cd40 | |
parent | 2f87a77ff7fcd83c2de6b513eb49819e17232d95 (diff) | |
download | patches-f76af41a768512376d770c833e5317ff90d30cf2.tar patches-f76af41a768512376d770c833e5317ff90d30cf2.tar.gz |
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.
-rw-r--r-- | gnu/packages/dav.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index be6c40f4ba..ba56d0d852 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -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))) |