summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/python-check.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 74e833686f..88729df594 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2021 Brendan Tildesley <[email protected]>
;;; Copyright © 2021, 2022 Guillaume Le Vaillant <[email protected]>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <[email protected]>
+;;; Copyright © 2021 Sebastian Gibb <[email protected]>
;;; Copyright © 2022 Malte Frank Gerdes <[email protected]>
;;; Copyright © 2022 Felix Gruber <[email protected]>
;;; Copyright © 2022 Tomasz Jeneralczyk <[email protected]>
@@ -698,6 +699,29 @@ your template is working as expected and takes care of cleaning up after
running the tests.")
(license license:expat)))
+(define-public python-pytest-datafiles
+ (package
+ (name "python-pytest-datafiles")
+ (version "3.0.0")
+ (source
+ (origin
+ (method git-fetch) ; no tests in the PyPI tarball
+ (uri (git-reference
+ (url "https://github.com/omarkohl/pytest-datafiles")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wbgfsn4pcdm0bw61pwaaq707mlfnixlff3x8m5mpsf6jhrzql30"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/omarkohl/pytest-datafiles")
+ (synopsis "Pytest plugin to create a tmpdir")
+ (description
+ "A pytest plugin to create a tmpdir containing a preconfigured set of
+files and/or directories.")
+ (license license:expat)))
+
(define-public python-pytest-doctestplus
(package
(name "python-pytest-doctestplus")