From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: [PATCH 09/17] gnu: Add python-wsgi-intercept.
Date: Sun, 3 Jan 2016 19:05:07 -0500 [thread overview]
Message-ID: <7e09a88e3188ccb2a37986114b85d215984ae913.1451865663.git.leo@famulari.name> (raw)
In-Reply-To: <cover.1451865663.git.leo@famulari.name>
In-Reply-To: <cover.1451865663.git.leo@famulari.name>
* gnu/packages/python.scm (python-wsgi-intercept): New variable.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0dfebf2..437b66d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6794,3 +6794,30 @@ the last py.test invocation.")
framework which enables you to test server connections locally.")
(home-page "https://pypi.python.org/pypi/pytest-localserver")
(license license:expat)))
+
+(define-public python-wsgi-intercept
+ (package
+ (name "python-wsgi-intercept")
+ (version "0.10.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "wsgi_intercept" version))
+ (sha256
+ (base32
+ "0xyfchacywb1mql84270mcidsqc5ssyspd18yacjk82x2xc68h0r"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-httplib2" ,python-httplib2)
+ ("python-requests" ,python-requests)))
+ (synopsis "Puts a WSGI application in place of a real URI for testing")
+ (description "Wsgi_intercept installs a WSGI application in place of a real
+URI for testing. Testing a WSGI application normally involves starting a
+server at a local host and port, then pointing your test code to that address.
+Instead, this library lets you intercept calls to any specific host/port
+combination and redirect them into a WSGI application importable by your test
+program. Thus, you can avoid spawning multiple processes or threads to test
+your Web app.")
+ (home-page "https://github.com/cdent/wsgi-intercept")
+ (license license:expat)))
--
2.6.4
next prev parent reply other threads:[~2016-01-04 0:05 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 0:04 [PATCH 00/17] Add CalDAV and CardDAV programs Leo Famulari
2016-01-04 0:04 ` [PATCH 01/17] gnu: Add python-atomicwrites Leo Famulari
2016-01-06 19:02 ` Efraim Flashner
2016-01-07 16:48 ` Leo Famulari
2016-01-10 2:48 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 02/17] gnu: Add python-requests-toolbelt Leo Famulari
2016-01-04 0:05 ` [PATCH 03/17] gnu: Add python-click-threading Leo Famulari
2016-01-06 18:48 ` Eric Bavier
2016-01-07 16:48 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 04/17] gnu: Add python-click-log Leo Famulari
2016-01-06 19:04 ` Efraim Flashner
2016-01-07 16:49 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 05/17] gnu: Add python-apipkg Leo Famulari
2016-01-04 0:05 ` [PATCH 06/17] gnu: Add python-execnet Leo Famulari
2016-01-06 18:57 ` Eric Bavier
2016-01-07 16:48 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 07/17] gnu: Add python-pytest-cache Leo Famulari
2016-01-04 0:05 ` [PATCH 08/17] gnu: Add python-pytest-localserver Leo Famulari
2016-01-06 19:09 ` Eric Bavier
2016-01-07 16:49 ` Leo Famulari
2016-01-04 0:05 ` Leo Famulari [this message]
2016-01-04 0:05 ` [PATCH 10/17] gnu: Add python-pytest-xprocess Leo Famulari
2016-01-04 0:05 ` [PATCH 11/17] gnu: Add radicale Leo Famulari
2016-01-04 0:05 ` [PATCH 12/17] gnu: Add vdirsyncer Leo Famulari
2016-01-06 19:11 ` Efraim Flashner
2016-01-04 0:05 ` [PATCH 13/17] gnu: Add python-icalendar Leo Famulari
2016-01-04 0:05 ` [PATCH 14/17] gnu: Add python-sphinxcontrib-newsfeed Leo Famulari
2016-01-04 0:05 ` [PATCH 15/17] gnu: Update python-tzlocal to 1.2 Leo Famulari
2016-01-06 19:14 ` Efraim Flashner
2016-01-07 16:49 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 16/17] gnu: python-urwid: Disable failing test test_remove_watch_file Leo Famulari
2016-01-04 0:05 ` [PATCH 17/17] gnu: Add khal Leo Famulari
2016-01-06 19:23 ` Efraim Flashner
2016-01-07 16:49 ` Leo Famulari
2016-01-06 19:31 ` Eric Bavier
2016-01-07 16:50 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7e09a88e3188ccb2a37986114b85d215984ae913.1451865663.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=guix-devel@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 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.