[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/9] gnu: Add python-pytest-httpbin.
From: |
contact . ng0 |
Subject: |
[PATCH 4/9] gnu: Add python-pytest-httpbin. |
Date: |
Sat, 4 Feb 2017 16:35:01 +0000 |
From: ng0 <address@hidden>
* gnu/packages/python.scm (python-pytest-httpbin): New variable.
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5b4d2b09c..e8d1c5697 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1946,6 +1946,35 @@ result back.")
(define-public python2-pytest-xdist
(package-with-python2 python-pytest-xdist))
+(define-public python-pytest-httpbin
+ (package
+ (name "python-pytest-httpbin")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-httpbin" version))
+ (sha256
+ (base32
+ "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-flask" ,python-flask)
+ ("python-decorator" ,python-decorator)
+ ("python-httpbin" ,python-httpbin)
+ ("python-pytest" ,python-pytest)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/kevin1024/pytest-httpbin")
+ (synopsis "Test your HTTP library against a local copy of httpbin")
+ (description
+ "Pytest-httpbin creates a pytest fixture that is dependency-injected
+into your tests. It automatically starts up a HTTP server in a separate
+thread running httpbin and provides your test with the URL in the fixture.")
+ (license license:expat)))
+
+(define-public python2-pytest-httpbin
+ (package-with-python2 python-pytest-httpbin))
+
(define-public python-scripttest
(package
(name "python-scripttest")
--
2.11.0
- Some searx requirements, contact . ng0, 2017/02/04
- [PATCH 1/9] gnu: python-dateutils-2: Update to 2.5.3., contact . ng0, 2017/02/04
- [PATCH 9/9] gnu: python-requests: Add python-pysocks to propagated-inputs., contact . ng0, 2017/02/04
- [PATCH 4/9] gnu: Add python-pytest-httpbin.,
contact . ng0 <=
- [PATCH 7/9] gnu: python-pytest: Update to 3.0.5., contact . ng0, 2017/02/04
- [PATCH 3/9] gnu: Add python-httpbin., contact . ng0, 2017/02/04
- [PATCH 2/9] gnu: Add python-gunicorn., contact . ng0, 2017/02/04
- [PATCH 8/9] gnu: python-requests: Update to 2.12.4., contact . ng0, 2017/02/04
- [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7., contact . ng0, 2017/02/04