[PATCH] gnu: behave: Enable tests.

  • Done
  • quality assurance status badge
Details
2 participants
  • Kei Kebreau
  • Marius Bakke
Owner
unassigned
Submitted by
Kei Kebreau
Severity
normal

Debbugs page

Kei Kebreau wrote 7 years ago
(address . guix-patches@gnu.org)(name . Kei Kebreau)(address . kkebreau@posteo.net)
20180108162317.7642-1-kkebreau@posteo.net
* 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(-)

Toggle diff (25 lines)
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
Marius Bakke wrote 7 years ago
(name . Kei Kebreau)(address . kkebreau@posteo.net)
87y3l82lii.fsf@fastmail.com
Kei Kebreau <kkebreau@posteo.net> writes:

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

LGTM, thanks!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlpTx5UACgkQoqBt8qM6
VPqBeQf/f7NwBU4LKi8SYpyklrXxnq5QFixLo00kqKs/0dz6v5MAuN2VsOvzFzv0
b7kha4At4VvcglmHQ3f2PBO8LUgLsLBYSbka3e5QbodinP6BRw3/qEkTJUIgKdfY
85yVJOIJGg88/oj23iTgXheAvS2kazcno3Y9Dv8PWulEDXQp/HFW8GW9wzz5O3b/
MStXz4jJEQMv+/QQZRlsGSwj1FpihfRF2YLkQ5sNclO7s5k1b3P0KO66ELUDMaLE
U9/VQANldaVaQkJmOKFRnDE52XPl362zLUMy0/x27AR6l3Fyp0aYuoh5jzbbmDZd
tkUvRlffSfp2NX1Z5nL3dcjBUhVZfA==
=c6M8
-----END PGP SIGNATURE-----

Kei Kebreau wrote 7 years ago
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 30026-done@debbugs.gnu.org)
874lnvx9r4.fsf@posteo.net
Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (8 lines)
> 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!
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlpU8V8ACgkQ5qXuPBlG
eg0HkQ/+KdHCa2oVGvtbKMt2lve4+56mBXPiC9putSu1Q5ucvADyVy1DEjFm/xu1
g70g/pTlAgix8B+JSI3I5BGE/UFul07sVmd4a8LK90zUz4ta51myms3A3gbemjNG
+gUOSdB9V9J0V9sVbPfqjBkGV3XVsQV0PIzFsaE2Z0CJw39H01FrT6W/eOLjEYUG
xh4PO9LE4ETy9PB+gg7ttTkCGO0XbwhoBAMKtUixCv2b8PLwa0Xd/wdQ2+++r/Dm
3m8ys1w/s4sNBtVj7pWISMWHpt6OAuCASgEYF/disxjgKXXHO8QiUgN+nAKtuuEG
o6IBvyQ3Nl2SCd2Ig+JcpB/dlnZ82+9SR+6c9sQumKM+DXKdLoVKTAuHbsaqiPN9
G0XWQQn6zuR2WQ0AbP0eH4sL9UBWIGL3tsSwQVOuHrRdxEhFFPWT5rCXx3LqtR4E
JWGk+Tk/ITg4akluMdHdFEAcUHG+myh29sz/VPtzC/QlEgID/qlINb0y9XyXtE9+
4ARC29/x5Mhe2kepNgKDzfbCVTZYwCH6xr9swGll32NKNasjeHzl+ACyaaOHRRoW
EbbXrHtvCZiPK6Z98I1k6IW3xzEZ3GqZJuMGeNodXZ79iH1uAw7mkJZOXwG3cqRj
0l749pMVXW/PtMqQiKoCyDe1HM0lveDkkV9rnRy2/hIou+lAJXI=
=8W2q
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 30026@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 30026
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help