aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-04-24 19:10:32 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-04-24 19:10:38 +0100
commit85b5c2c8f66aed05730f6c7bdeabfaadf619bb8f (patch)
tree4569b746be7038b2237c9aa2cfc0cb890a22db4f
parentc32666071c61aea3365b313295ec27d6cd4ca508 (diff)
downloadguix-85b5c2c8f66aed05730f6c7bdeabfaadf619bb8f.tar.gz
guix-85b5c2c8f66aed05730f6c7bdeabfaadf619bb8f.zip
gnu: python-pytooling: Enable tests.
* gnu/packages/python-xyz.scm (python-pytooling) [arguments] <test-flags>: Skip just 3 tests. [native-inputs]: Add git-minimal/pinned, python-colorama, python-pytest, and python-ruamel.yaml. Change-Id: If3318a1634c2f1d90378b7a69156da5cc413ad5e
-rw-r--r--gnu/packages/python-xyz.scm18
1 files changed, 16 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a129b5419f..01cf54c909 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2912,8 +2912,22 @@ configuration file.")
(base32 "18psdd7033zknvw0hs93dryp39k9bjj5b9zza83wvyhjxvdwn05d"))))
(build-system pyproject-build-system)
(arguments
- `(#:tests? #f)) ; requires recent versions of mypy and lxml
- (native-inputs (list python-setuptools python-wheel))
+ (list
+ #:test-flags
+ #~(list "tests/unit"
+ "-k" (string-join
+ ;; Tests checking in /usr/bin and /usr/bin/git paths.
+ (list "not test_BinaryDirectory"
+ "test_ExecutablePath"
+ "test_VersionFlag")
+ " and not "))))
+ (native-inputs
+ (list git-minimal/pinned
+ python-colorama
+ python-pytest
+ python-ruamel.yaml
+ python-setuptools
+ python-wheel))
(home-page "https://pytooling.github.io/pyTooling/")
(synopsis "Miscellaneous Python tools")
(description