guix-commits
[Top][All Lists]
Advanced

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

07/12: gnu: python-flask: Run test suite.


From: guix-commits
Subject: 07/12: gnu: python-flask: Run test suite.
Date: Sun, 27 Jan 2019 05:49:41 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 474039554de2641966caf5db6aaf6d54c09a5e1b
Author: Efraim Flashner <address@hidden>
Date:   Sun Jan 27 11:20:56 2019 +0200

    gnu: python-flask: Run test suite.
    
    * gnu/packages/python-web.scm (python-flask)[arguments]: Use custom
    'check phase.
    [native-inputs]: Add python-pytest.
---
 gnu/packages/python-web.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 832ca93..8056c86 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1591,6 +1591,14 @@ minimum of WSGI.")
                (base32
                 "0j6f4a9rpfh25k1gp7azqhnni4mb4fgy50jammgjgddw1l3w0w92"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "python" "-m" "pytest"))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
     (propagated-inputs
      `(("python-itsdangerous" ,python-itsdangerous)
        ("python-jinja2" ,python-jinja2)



reply via email to

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