[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/20] gnu: Add python-pytest-httpbin
From: |
Muriithi Frederick Muriuki |
Subject: |
[PATCH 03/20] gnu: Add python-pytest-httpbin |
Date: |
Fri, 14 Apr 2017 13:13:03 +0300 |
* gnu/packages/python.scm (python-pytest-httpbin): New variable.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 618b965..73d217b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14030,3 +14030,31 @@ scenarios")
(define-public python2-httpbin
(package-with-python2 python-httpbin))
+
+(define-public python-pytest-httpbin
+ ;; httpretty requires pytest-httpbin==0.0.7
+ (package
+ (name "python-pytest-httpbin")
+ (version "0.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-httpbin" version))
+ (sha256
+ (base32
+ "08ghq923dn33rllip3vap2p9fb680g0i96jdn5lcpfy8amq8mbq3"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-six" ,python-six)
+ ("python-httpbin" ,python-httpbin)
+ ("python-pytest" ,python-pytest)))
+ (home-page
+ "https://github.com/kevin1024/pytest-httpbin")
+ (synopsis
+ "Easily test your HTTP library against a local copy of httpbin")
+ (description
+ "Easily test your HTTP library against a local copy of httpbin")
+ (license license:expat)))
+
+(define-public python2-pytest-httpbin
+ (package-with-python2 python-pytest-httpbin))
--
2.10.2
- [PATCH 01/20] gnu: Add python-radon, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 06/20] gnu: Add python-coverage-4.0.3, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 07/20] gnu: Add python-urllib3-1.12, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 08/20] gnu: Add python-sure, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 09/20] gnu: Add python-couleur, Muriithi Frederick Muriuki, 2017/04/14