gnu: python-flask: Run test suite.

* gnu/packages/python-web.scm (python-flask)[arguments]: Use custom
'check phase.
[native-inputs]: Add python-pytest.
This commit is contained in:
Efraim Flashner 2019-01-27 11:20:56 +02:00
parent 67eda45bbb
commit 474039554d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 8 additions and 0 deletions

View File

@ -1591,6 +1591,14 @@ minimum of WSGI.")
(base32
"0j6f4a9rpfh25k1gp7azqhnni4mb4fgy50jammgjgddw1l3w0w92"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "python" "-m" "pytest"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(propagated-inputs
`(("python-itsdangerous" ,python-itsdangerous)
("python-jinja2" ,python-jinja2)