gnu: python-fake-factory: Fix tests.

* gnu/packages/python.scm (python-fake-factory,
  python2-fake-factory)[arguments]: Replace 'check' phase with custom command.
This commit is contained in:
Marius Bakke 2016-12-14 22:01:36 +01:00
parent f620311a39
commit b7f3ea9532
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 0 deletions

View File

@ -10484,6 +10484,12 @@ parsing UK postcodes.")
(base32 (base32
"0vs0dkmg0dlaxf8w6q2i3k0i03gmp56ablldv7ci9x3nbadkn71g")))) "0vs0dkmg0dlaxf8w6q2i3k0i03gmp56ablldv7ci9x3nbadkn71g"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(zero? (system* "python" "-m" "unittest" "-v" "faker.tests")))))))
(native-inputs (native-inputs
`(;; For testing `(;; For testing
("python-email-validator" ,python-email-validator) ("python-email-validator" ,python-email-validator)