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.
This commit is contained in:
Marius Bakke 2017-02-15 23:55:37 +01:00
parent fffcd8b829
commit d296d30013
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -9922,6 +9922,16 @@ (define-public python-flask-wtf
(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)