aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/check.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/check.scm')
-rw-r--r--gnu/packages/check.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index c0cb4ae7fd..6619142b50 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1962,7 +1962,15 @@ backported from Python 2.7 for Python 2.4+.")
("python-parse" ,python-parse)
("python-parse-type" ,python-parse-type)))
(arguments
- '(#:test-target "behave_test"))
+ '(#:test-target "behave_test"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'fix-library-loading
+ (lambda _
+ ;; Otherwise, tests fail with no module named 'path'
+ (setenv "PYTHONPATH" (string-append (getenv "PYTHONPATH") ":"
+ (getcwd) "/tasks/_vendor"))
+ #t)))))
(home-page "https://github.com/behave/behave")
(synopsis "Python behavior-driven development")
(description
='2016-01-18 17:41:16 +0100'>2016-01-18derivations: Add test for #:leaked-env-vars....Ludovic Courtès 2015-12-09derivations: Determine what's built in 'check' mode....Ludovic Courtès 2015-10-06utils: Remove Nixpkgs helpers....Ludovic Courtès 2015-09-05tests: Fix typos....Ludovic Courtès 2015-07-13substitute: Honor "substitute-urls" option passed by "untrusted" clients....Ludovic Courtès 2015-07-03derivations: Add #:substitutable?, distinguished from #:local-build?....Ludovic Courtès 2015-05-27tests: Make sure %BOOTSTRAP-GUILE is available when we need it....Ludovic Courtès 2015-03-25derivations: Add a 'cut?' parameter to 'derivation-prerequisites'....Ludovic Courtès 2015-02-24tests: Factorize the network reachability test....Ludovic Courtès 2015-02-13gexp: Implement 'imported-modules' & co. using 'gexp->derivation'....Ludovic Courtès 2015-02-02tests: Further factorize substitute mocks....Ludovic Courtès 2015-01-10derivations: Add 'substitution-oracle' and use it....Ludovic Courtès 2015-01-09derivations: Add 'derivation-output-names'....Ludovic Courtès 2014-11-02derivations: Add 'derivation-name'....Ludovic Courtès 2014-10-29derivations: Fix 'derivation-prerequisites-to-build' when #:local-build?....Ludovic Courtès 2014-10-29tests: Move some of the narinfo test tools to (guix tests)....Ludovic Courtès 2014-10-29derivations: Add 'offloadable-derivation?' and 'substitutable-derivation?'....Ludovic Courtès 2014-10-17derivations: Introduce 'graft' record type....Ludovic Courtès 2014-10-08derivations: Add 'graft-derivation'....Ludovic Courtès 2014-08-31daemon: Really enable automatic deduplication by default....Ludovic Courtès 2014-08-23Factorize test suite support in (guix tests)....Ludovic Courtès