gnu: python-clint: Fix tests.

* gnu/packages/python.scm (python-clint, python2-clint)[native-inputs]: Add
  python-pytest.
  [arguments]: Replace 'check' phase with custom command.
This commit is contained in:
Marius Bakke 2016-12-14 22:07:38 +01:00
parent b7f3ea9532
commit 6145b60462
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -8125,6 +8125,14 @@ Blog, News or Announcements section to a Sphinx website.")
(base32
"1an5lkkqk1zha47198p42ji3m94xmzx1a03dn7866m87n4r4q8h5"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(zero? (system* "py.test" "-v")))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(propagated-inputs
`(("python-args" ,python-args)))
(home-page "https://github.com/kennethreitz/clint")