summary refs log tree commit diff
path: root/gnu/packages/openstack.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-02-24 20:45:46 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-02-24 20:45:46 +0100
commitdc6bedbacadf7d0c9871fe3b22415d12ea266f74 (patch)
tree918f95e93ef2958c404fd3be0adf979cec50c438 /gnu/packages/openstack.scm
parentec867b86a0575d049922e074312b36dfb9d71868 (diff)
downloadguix-dc6bedbacadf7d0c9871fe3b22415d12ea266f74.tar.gz
gnu: python2-requests-mock: Disable tests.
* gnu/packages/openstack.scm (python2-requests-mock)[arguments]: New field.
(python-requests-mock): Delay it.
Diffstat (limited to 'gnu/packages/openstack.scm')
-rw-r--r--gnu/packages/openstack.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 8130097c83..d41c9c8916 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -271,10 +271,16 @@ tested on Python version 3.2, 2.7 and 2.6.")
     (description
       "This module provides a building block to stub out the HTTP requests
 portions of your testing code.")
+    (properties `((python2-variant . ,(delay python2-requests-mock))))
     (license asl2.0)))
 
 (define-public python2-requests-mock
-  (package-with-python2 python-requests-mock))
+  (package (inherit (package-with-python2
+                     (strip-python2-variant python-requests-mock)))
+           (arguments
+            `(#:python ,python-2
+              ;; FIXME: 'subunit.run discover: error: no such option: --list'
+              #:tests? #f))))
 
 (define-public python-stevedore
   (package