guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: radicale: Run the test suite with py.test.


From: Leo Famulari
Subject: 01/01: gnu: radicale: Run the test suite with py.test.
Date: Sun, 16 Oct 2016 00:26:10 +0000 (UTC)

lfam pushed a commit to branch core-updates
in repository guix.

commit f76af41a768512376d770c833e5317ff90d30cf2
Author: Leo Famulari <address@hidden>
Date:   Sat Oct 15 20:25:07 2016 -0400

    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.
---
 gnu/packages/dav.scm |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm
index be6c40f..ba56d0d 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]