gnu: behave: Enable tests.
authorKei Kebreau <kkebreau@posteo.net>
Mon, 8 Jan 2018 16:08:06 +0000 (11:08 -0500)
committerKei Kebreau <kkebreau@posteo.net>
Tue, 9 Jan 2018 16:43:34 +0000 (11:43 -0500)
* 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

index 76fb1dc..50675cb 100644 (file)
@@ -1549,12 +1549,16 @@ backported from Python 2.7 for Python 2.4+.")
               (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