From e56b07663c5f6e174a85309f2d00194d38cae782 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 7 Jul 2022 14:55:34 +0200 Subject: gnu: Add python-pytest-cram. * gnu/packages/python-check.scm (python-pytest-cram): New variable. --- gnu/packages/python-check.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 14be55054f..af0e5be28b 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -127,6 +127,26 @@ (define-public python-pytest-click interfaces with pytest.") (license license:expat))) +(define-public python-pytest-cram + (package + (name "python-pytest-cram") + (version "0.2.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "pytest-cram" version)) + (sha256 + (base32 + "0405ymmrsv6ii2qhq35nxfjkb402sdb6d13xnk53jql3ybgmiqq0")))) + (build-system python-build-system) + (propagated-inputs (list python-cram python-pytest)) + (home-page "https://github.com/tbekolay/pytest-cram") + (synopsis "Run cram tests with pytest.") + (description "Cram tests command line applications; Pytest tests Python +applications. @code{pytest-cram} tests Python command line applications by +letting you write your Python API tests with pytest, and your command line +tests in cram.") + (license license:expat))) + (define-public python-pytest-csv (package (name "python-pytest-csv") -- cgit v1.2.3