From b7f3ea9532c0bf764228b3b7ecbd66d579a2517f Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 14 Dec 2016 22:01:36 +0100 Subject: [PATCH] gnu: python-fake-factory: Fix tests. * gnu/packages/python.scm (python-fake-factory, python2-fake-factory)[arguments]: Replace 'check' phase with custom command. --- gnu/packages/python.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index de11cd558d..d6ea07de34 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10484,6 +10484,12 @@ parsing UK postcodes.") (base32 "0vs0dkmg0dlaxf8w6q2i3k0i03gmp56ablldv7ci9x3nbadkn71g")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "python" "-m" "unittest" "-v" "faker.tests"))))))) (native-inputs `(;; For testing ("python-email-validator" ,python-email-validator)