all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30026] [PATCH] gnu: behave: Enable tests.
@ 2018-01-08 16:23 Kei Kebreau
  2018-01-08 19:33 ` Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: Kei Kebreau @ 2018-01-08 16:23 UTC (permalink / raw)
  To: 30026; +Cc: Kei Kebreau

* 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 76fb1dc3f..50675cb85 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -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
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#30026] [PATCH] gnu: behave: Enable tests.
  2018-01-08 16:23 [bug#30026] [PATCH] gnu: behave: Enable tests Kei Kebreau
@ 2018-01-08 19:33 ` Marius Bakke
  2018-01-09 16:44   ` bug#30026: " Kei Kebreau
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2018-01-08 19:33 UTC (permalink / raw)
  To: Kei Kebreau, 30026

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

Kei Kebreau <kkebreau@posteo.net> writes:

> * gnu/packages/check.scm (behave)[native-inputs]: Add python-mock, python-nose
> and python-pyhamcrest.
> [arguments]: Remove #:tests?.  Add #:test-target.

LGTM, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#30026: [PATCH] gnu: behave: Enable tests.
  2018-01-08 19:33 ` Marius Bakke
@ 2018-01-09 16:44   ` Kei Kebreau
  0 siblings, 0 replies; 3+ messages in thread
From: Kei Kebreau @ 2018-01-09 16:44 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 30026-done

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

Marius Bakke <mbakke@fastmail.com> writes:

> Kei Kebreau <kkebreau@posteo.net> writes:
>
>> * gnu/packages/check.scm (behave)[native-inputs]: Add python-mock, python-nose
>> and python-pyhamcrest.
>> [arguments]: Remove #:tests?.  Add #:test-target.
>
> LGTM, thanks!

Pushed, thanks for reviewing!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-09 16:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-08 16:23 [bug#30026] [PATCH] gnu: behave: Enable tests Kei Kebreau
2018-01-08 19:33 ` Marius Bakke
2018-01-09 16:44   ` bug#30026: " Kei Kebreau

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.