unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: 26524@debbugs.gnu.org
Subject: bug#26524: [PATCH 3/4] gnu: Add python-pytest-httpbin
Date: Sun,  7 May 2017 05:29:42 +0300	[thread overview]
Message-ID: <20170507022943.20427-3-fredmanglis@gmail.com> (raw)
In-Reply-To: <20170507022943.20427-1-fredmanglis@gmail.com>

* gnu/packages/python.scm (python-pytest-httpbin): New variable.
---
 gnu/packages/web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b975b18..a8e5463 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4517,3 +4517,29 @@ exploit attempts.")
 response.  This exists to cover all kinds of HTTP scenarios.  All endpoint responses are
 JSON-encoded.")
     (license l:isc)))
+
+(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-six" ,python-six)
+       ("python-httpbin" ,python-httpbin)
+       ("python-pytest" ,python-pytest)))
+    (home-page
+     "https://github.com/kevin1024/pytest-httpbin")
+    (synopsis
+     "Test your HTTP library against a local copy of httpbin")
+    (description
+     "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
+into your tests.  It automatically starts up a HTTP server in a separate thread running
+@code{httpbin} and provides your test with the URL in the fixture.")
+    (license l:expat)))
-- 
2.10.2

  parent reply	other threads:[~2017-05-07  2:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170507022943.20427-1-fredmanglis@gmail.com>
2017-05-07  2:29 ` bug#26524: [PATCH 2/4] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-05-07 19:23   ` Leo Famulari
2017-05-07  2:29 ` Muriithi Frederick Muriuki [this message]
2017-05-07 19:24   ` bug#26524: [PATCH 3/4] gnu: Add python-pytest-httpbin Leo Famulari
2017-05-07  2:29 ` bug#26524: [PATCH 4/4] gnu: Add python-sure Muriithi Frederick Muriuki
2017-05-07 19:15   ` Leo Famulari

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170507022943.20427-3-fredmanglis@gmail.com \
    --to=fredmanglis@gmail.com \
    --cc=26524@debbugs.gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).