summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-08-21 07:00:17 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-08-21 17:24:30 +0200
commit632900f58650f104ba9ae7125282ca13b38f010e (patch)
tree2e59a37ad6cd767aa6d758c2d4dc924df884e5cd
parentc52ff2ed7670b67b3b523c8d7c8f4fcf030c068a (diff)
downloadguix-632900f58650f104ba9ae7125282ca13b38f010e.tar.gz
gnu: python-packaging: Run the tests.
* gnu/packages/python.scm (python-packaging)[arguments]: Override 'check' phase.
-rw-r--r--gnu/packages/python.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f4236391d3..6284d0aca1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11577,6 +11577,10 @@ several utilities, as well as an API for building localization tools.")
          (base32
           "0nrpayk8kij1zm9sjnk38ldz3a6705ggvw8ljylqbrb4vmqbf6gh"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _ (invoke "py.test" "-vv"))))))
     (native-inputs
      `(("python-pretend" ,python-pretend)
        ("python-pytest" ,python-pytest)))