From c616b5d3b5aefc00485f03f756871a2d87714268 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 15 Dec 2016 16:49:14 +0100 Subject: gnu: python-oauthlib: Fix tests. * gnu/packages/python.scm (python-oauthlib)[native-inputs]: Add python-mock. (python2-oauthlib)[native-inputs]: Inherit python-mock. --- gnu/packages/python.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4472e7832f..55274783ff 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2536,6 +2536,7 @@ (define-public python-oauthlib (build-system python-build-system) (native-inputs `(("python-nose" ,python-nose) + ("python-mock" ,python-mock) ("python-cryptography" ,python-cryptography) ("python-pyjwt" ,python-pyjwt) ("python-blinker" ,python-blinker))) @@ -2552,7 +2553,6 @@ (define-public python2-oauthlib (package (inherit base) (native-inputs `(("python2-unittest2" ,python2-unittest2) - ("python2-mock" ,python2-mock) ,@(package-native-inputs base)))))) (define-public python-itsdangerous -- cgit v1.2.3