From 830a47e85d3282c54d5d8e7b79afd7efd96919ec Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 9 Aug 2021 13:00:26 +0300 Subject: gnu: python-flask: Honor #:tests in check phase. * gnu/packages/python-web.scm (python-flask)[arguments]: Honor #:tests flag. --- gnu/packages/python-web.scm | 5 +++-- 1 file 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 -- cgit 1.4.1