From dc6bedbacadf7d0c9871fe3b22415d12ea266f74 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 24 Feb 2017 20:45:46 +0100 Subject: [PATCH] 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 8130097c83..d41c9c8916 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -271,10 +271,16 @@ (define-public python-requests-mock (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