gnu: python-tornado-6: Honor tests flag.

* gnu/packages/python-web.scm (python-tornado-6)[arguments]: Adjust
custom 'check phase to honor the #:tests? flag.
This commit is contained in:
Efraim Flashner 2022-07-12 13:27:14 +03:00
parent 908b680a5f
commit aba4cdc87f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 3 deletions

View File

@ -2073,9 +2073,9 @@ connection to each user.")
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "python" "-m" "tornado.test.runtests")
#t)))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "tornado.test.runtests")))))))
(native-inputs
(list python-certifi))
(home-page "https://www.tornadoweb.org/")