summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-12-19 21:40:07 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-27 17:24:44 +0000
commitdc95ec12e89c44e3d2600393e68b71e9cf7111a1 (patch)
tree198c59e435f3df882ebf28aabcaef6bb382501b0 /gnu/packages/python-check.scm
parent3916b479f7bb4cd0ccbf294898191b26672b93f1 (diff)
gnu: Add python-pytest-docker-tools.
* gnu/packages/python-check.scm (python-pytest-docker-tools): New variable. Change-Id: Icc5f93e61f32d4e00cf48db333c1270100e8b9b4 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 05a941cfbfa..fb5b9f5dc10 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -65,6 +65,7 @@
65 #:use-module (gnu packages nss) 65 #:use-module (gnu packages nss)
66 #:use-module (gnu packages check) 66 #:use-module (gnu packages check)
67 #:use-module (gnu packages django) 67 #:use-module (gnu packages django)
68 #:use-module (gnu packages docker)
68 #:use-module (gnu packages jupyter) 69 #:use-module (gnu packages jupyter)
69 #:use-module (gnu packages maths) 70 #:use-module (gnu packages maths)
70 #:use-module (gnu packages mpi) 71 #:use-module (gnu packages mpi)
@@ -2638,6 +2639,40 @@ to mark some tests as dependent from other tests. These tests will then be
2638skipped if any of the dependencies did fail or has been skipped.") 2639skipped if any of the dependencies did fail or has been skipped.")
2639 (license license:asl2.0))) 2640 (license license:asl2.0)))
2640 2641
2642(define-public python-pytest-docker-tools
2643 (package
2644 (name "python-pytest-docker-tools")
2645 (version "3.1.9")
2646 (source
2647 (origin
2648 (method git-fetch)
2649 (uri (git-reference
2650 (url "https://github.com/Jc2k/pytest-docker-tools")
2651 (commit (string-append "v" version))))
2652 (file-name (git-file-name name version))
2653 (sha256
2654 (base32 "06w89kvxqma5ns6gndmk6g048qpv10wdwf61ynii1mm1n0xy11sr"))))
2655 (build-system pyproject-build-system)
2656 (arguments
2657 (list
2658 #:test-flags
2659 ;; All other tests seem to require docker daemon running.
2660 #~(list "tests/test_utils.py")))
2661 (native-inputs
2662 (list python-pytest
2663 python-requests
2664 python-setuptools))
2665 (propagated-inputs
2666 (list python-docker))
2667 (home-page "https://github.com/Jc2k/pytest-docker-tools")
2668 (synopsis "Test your built docker image")
2669 (description
2670 "This package is a set of opinionated helpers for creating py.test fixtures
2671for your smoke testing and integration testing. It strives to keep your
2672environment definition declarative, like a docker-compose.yml. It embraces
2673 py.test fixture overloading.")
2674 (license license:asl2.0)))
2675
2641(define-public python-pytest-doctest-custom 2676(define-public python-pytest-doctest-custom
2642 (package 2677 (package
2643 (name "python-pytest-doctest-custom") 2678 (name "python-pytest-doctest-custom")