From d296d30013587722b37aeb0be114e00b15564f3f Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 15 Feb 2017 23:55:37 +0100 Subject: 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(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 70aa8cd665..635feb489c 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) -- cgit v1.2.3