From: contact.ng0@cryptolab.net
To: guix-devel@gnu.org
Cc: ng0 <ng0@libertad.pw>
Subject: [PATCH 4/9] gnu: Add python-pytest-httpbin.
Date: Sat, 4 Feb 2017 16:35:01 +0000 [thread overview]
Message-ID: <20170204163506.16758-5-contact.ng0@cryptolab.net> (raw)
In-Reply-To: <20170204163506.16758-1-contact.ng0@cryptolab.net>
From: ng0 <ng0@libertad.pw>
* 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
next prev parent reply other threads:[~2017-02-04 16:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-04 16:34 Some searx requirements contact.ng0
2017-02-04 16:34 ` [PATCH 1/9] gnu: python-dateutils-2: Update to 2.5.3 contact.ng0
2017-02-08 7:35 ` Danny Milosavljevic
2017-02-04 16:34 ` [PATCH 2/9] gnu: Add python-gunicorn contact.ng0
2017-02-05 23:19 ` Maxim Cournoyer
2017-02-04 16:35 ` [PATCH 3/9] gnu: Add python-httpbin contact.ng0
2017-02-05 23:16 ` Maxim Cournoyer
2017-02-04 16:35 ` contact.ng0 [this message]
2017-02-04 16:35 ` [PATCH 5/9] gnu: Add python-pysocks contact.ng0
2017-02-04 16:35 ` [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7 contact.ng0
2017-02-05 23:22 ` Maxim Cournoyer
2017-02-08 12:49 ` ng0
2017-02-04 16:35 ` [PATCH 7/9] gnu: python-pytest: Update to 3.0.5 contact.ng0
2017-02-05 23:11 ` Maxim Cournoyer
2017-02-04 16:35 ` [PATCH 8/9] gnu: python-requests: Update to 2.12.4 contact.ng0
2017-02-04 16:35 ` [PATCH 9/9] gnu: python-requests: Add python-pysocks to propagated-inputs contact.ng0
2017-02-04 16:40 ` Some searx requirements ng0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170204163506.16758-5-contact.ng0@cryptolab.net \
--to=contact.ng0@cryptolab.net \
--cc=guix-devel@gnu.org \
--cc=ng0@libertad.pw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.