* gnu/packages/python.scm (python-pytest-httpbin): New variable. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index fb28a9f..3eee33b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14052,3 +14052,28 @@ recognize TestCases.") (description "HTTP Request and Response Service which covers all kinds of HTTP scenarios, e.g. GET, POST, PUT, DELETE, etc.") (license license:expat))) + +(define-public python-pytest-httpbin + (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 + "This enables testing HTTP libraries quickly by using a local copy of @code{httpbin}. +It enables even offline testing of the libraries.") + (license license:expat))) -- 2.10.2