guix-commits
[Top][All Lists]
Advanced

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

04/08: gnu: python-flask-wtf: Drop failing test.


From: Marius Bakke
Subject: 04/08: gnu: python-flask-wtf: Drop failing test.
Date: Sat, 18 Feb 2017 19:23:01 -0500 (EST)

mbakke pushed a commit to branch python-tests
in repository guix.

commit d296d30013587722b37aeb0be114e00b15564f3f
Author: Marius Bakke <address@hidden>
Date:   Wed Feb 15 23:55:37 2017 +0100

    gnu: python-flask-wtf: Drop failing test.
    
    * gnu/packages/python.scm (python-flask-wtf, python2-flask-wtf)[arguments]:
    Add phase to delete file that needs network access.
---
 gnu/packages/python.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 70aa8cd..635feb4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9922,6 +9922,16 @@ presume or force a developer to use a particular tool or 
library.")
         (base32
          "04l5743j2dici46038sqlzvf0xzpg8rf7s9ld2x24xv7f4idg990"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'drop-failing-test
+           (lambda _
+             ;; FIXME: This file tries resolving an external server, which
+             ;; fails. Try to patch out the offending section instead of
+             ;; deleting the whole thing.
+             (delete-file "tests/test_recaptcha.py")
+             #t)))))
     (propagated-inputs
      `(("python-flask-babel" ,python-flask-babel)
        ("python-babel" ,python-babel)



reply via email to

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