From 1e257d3da9a43a0b4ad09ddfb32562a08122e7c0 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Mon, 8 Jan 2018 11:08:06 -0500 Subject: [PATCH] gnu: behave: Enable tests. * gnu/packages/check.scm (behave)[native-inputs]: Add python-mock, python-nose and python-pyhamcrest. [arguments]: Remove #:tests?. Add #:test-target. --- gnu/packages/check.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 76fb1dc3ff..50675cb854 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1549,12 +1549,16 @@ (define-public behave (base32 "1iypp6z46r19n4xmgx6m1lwmlpfjh8vapq8izigrqlaarvp2y64c")))) (build-system python-build-system) + (native-inputs + `(("python-mock" ,python-mock) + ("python-nose" ,python-nose) + ("python-pyhamcrest" ,python-pyhamcrest))) (propagated-inputs `(("python-six" ,python-six) ("python-parse" ,python-parse) ("python-parse-type" ,python-parse-type))) - (arguments `(#:tests? #f)) ;TODO: tests require nose>=1.3 and - ;PyHamcrest>=1.8 + (arguments + '(#:test-target "behave_test")) (home-page "https://github.com/behave/behave") (synopsis "Python behavior-driven development") (description