guix-commits
[Top][All Lists]
Advanced

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

03/07: gnu: python2-requests-mock: Disable tests.


From: Marius Bakke
Subject: 03/07: gnu: python2-requests-mock: Disable tests.
Date: Fri, 24 Feb 2017 15:43:13 -0500 (EST)

mbakke pushed a commit to branch python-tests
in repository guix.

commit dc6bedbacadf7d0c9871fe3b22415d12ea266f74
Author: Marius Bakke <address@hidden>
Date:   Fri Feb 24 20:45:46 2017 +0100

    gnu: python2-requests-mock: Disable tests.
    
    * gnu/packages/openstack.scm (python2-requests-mock)[arguments]: New field.
    (python-requests-mock): Delay it.
---
 gnu/packages/openstack.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 8130097..d41c9c8 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



reply via email to

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