gnu: python-packaging: Run the tests.

* gnu/packages/python.scm (python-packaging)[arguments]: Override 'check' phase.
This commit is contained in:
Marius Bakke 2018-08-21 07:00:17 +02:00
parent c52ff2ed76
commit 632900f586
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 4 additions and 0 deletions

View File

@ -11577,6 +11577,10 @@ several utilities, as well as an API for building localization tools.")
(base32
"0nrpayk8kij1zm9sjnk38ldz3a6705ggvw8ljylqbrb4vmqbf6gh"))))
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _ (invoke "py.test" "-vv"))))))
(native-inputs
`(("python-pretend" ,python-pretend)
("python-pytest" ,python-pytest)))