diff options
author | Marius Bakke <[email protected]> | 2020-12-21 23:42:10 +0100 |
---|---|---|
committer | Marius Bakke <[email protected]> | 2020-12-21 23:42:10 +0100 |
commit | bbe4ed65ed5fe7dc8ed9d226042852387cee3b1e (patch) | |
tree | 9fbf0642fe71d0d4f6d7cb4e85b4d1587c8b9b16 /gnu/packages/python-check.scm | |
parent | 034cfbd2449387c15823cd9ec3e91661f9e5bf49 (diff) | |
parent | f00e68ace070fd5240a4b5874e61c26f6e909b6c (diff) |
Merge branch 'master' into ungrafting
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r-- | gnu/packages/python-check.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 72026473ca..fb111d6e57 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1153,3 +1153,30 @@ execute @code{unittest} test suites using multiple processes to split up execution of a test suite. It will also store a history of all test runs to help in debugging failures and optimizing the scheduler to improve speed.") (license license:asl2.0))) + +;; This is only used by python-sanic +(define-public python-pytest-sanic + (package + (name "python-pytest-sanic") + (version "1.6.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "pytest-sanic" version)) + (sha256 + (base32 + "02ajd8z77ahi69kzkz200qgxrb4s2j4qb6k8j9ds1kz6qa6fsa34")))) + (build-system python-build-system) + (arguments + ;; Tests depend on python-sanic. + `(#:tests? #f)) + (propagated-inputs + `(("python-aiohttp" ,python-aiohttp) + ("python-async-generator" + ,python-async-generator) + ("python-pytest" ,python-pytest))) + (home-page + "https://github.com/yunstanford/pytest-sanic") + (synopsis "Pytest plugin for Sanic") + (description "A pytest plugin for Sanic. It helps you to test your +code asynchronously.") + (license license:expat))) |