guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/21: gnu: python-zope-exceptions: Enable tests.


From: guix-commits
Subject: 06/21: gnu: python-zope-exceptions: Enable tests.
Date: Mon, 20 Jul 2020 11:00:40 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 6ae5d5da650fcf7814c5365ba138701d47a77dcc
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jul 20 17:19:05 2020 +0300

    gnu: python-zope-exceptions: Enable tests.
    
    * gnu/packages/python-web.scm (python-zope-exceptions)[arguments]: Use
    custom 'check phase.
    [native-inputs]: Add python-zope-testrunner-bootstrap.
---
 gnu/packages/python-web.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a9f362e..ed37e47 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1122,7 +1122,13 @@ conforming to a given API or contract.")
          "1nkgfwawswmyc6i0b8g3ymvja4mb507m8yhid8s4rbxq3dmqhwhd"))))
     (build-system python-build-system)
     (arguments
-     '(#:tests? #f))                ; circular dependency with zope.testrunner
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "zope-testrunner" "--test-path=src"))))))
+    (native-inputs
+     `(("python-zope-testrunner" ,python-zope-testrunner-bootstrap)))
     (propagated-inputs
      `(("python-zope-interface" ,python-zope-interface)))
     (home-page "https://pypi.org/project/zope.exceptions/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]