summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-02-26 04:40:40 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-02-26 04:50:30 +0100
commitff856cfdccd544394740fc5826cc0ef9ea54d247 (patch)
treee62874e9320f11ce4c6299aa3708cf463f13ad52
parent76397e12ada2832279fbd37dc89d1484adb5b4b1 (diff)
downloadguix-ff856cfdccd544394740fc5826cc0ef9ea54d247.tar.gz
gnu: python-pickleshare: Run the tests.
* gnu/packages/databases.scm (python-pickleshare)[arguments]: Replace CHECK-PHASE.
[native-inputs]: Add PYTHON-PYTEST.
-rw-r--r--gnu/packages/databases.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 98686910d1..56984af6e2 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2248,6 +2248,13 @@ SQLAlchemy Database Toolkit for Python.")
        (sha256
         (base32 "0yvk14dzxk7g6qpr7iw23vzqbsr0dh4ij4xynkhnzpfz4xr2bac4"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _
+                      (invoke "pytest"))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
     (home-page "https://github.com/vivainio/pickleshare")
     (synopsis "Tiny key value database with concurrency support")
     (description