1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-27 04:30:32 +02:00

gnu: python-peewee: Simplify tests.

* gnu/packages/databases.scm (python-peewee)[arguments] <test-backend>:
Use 'custom.
<test-flags>: Move options from custom 'check here.
<phases>: Use default 'check.

Change-Id: I2e3c6f0cba9913e10f11256ddec9c11da0993d6d
This commit is contained in:
Sharlatan Hellseher
2025-10-07 10:26:24 +01:00
parent 6260e72b5c
commit fe25ac0d8a

View File

@@ -3674,12 +3674,8 @@ on another machine, accessed via TCP/IP.")
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "runtests.py")))))))
#:test-backend #~'custom
#:test-flags #~(list "runtests.py")))
(inputs
(list sqlite))
(native-inputs