diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-web.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index fdc3aa5c51..10f38d8777 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2943,8 +2943,9 @@ minimum of WSGI.") '(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "pytest" "-vv" "tests")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv" "tests"))))))) (native-inputs `(("python-pytest" ,python-pytest))) (propagated-inputs |