gnu: radicale: Run the test suite with py.test.
authorLeo Famulari <leo@famulari.name>
Sun, 16 Oct 2016 00:25:07 +0000 (20:25 -0400)
committerLeo Famulari <leo@famulari.name>
Sun, 16 Oct 2016 00:26:05 +0000 (20:26 -0400)
* gnu/packages/dav.scm (radicale)[native-inputs]: Add python-pytest.
[arguments]: Replace the 'check' phase and run the tests with python-pytest.

gnu/packages/dav.scm

index be6c40f..ba56d0d 100644 (file)
               (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)))