[Python-modules-commits] [flask-wtf] 02/07: Disable test that uses internet

Orestis Ioannou oorestisime-guest at moszumanska.debian.org
Thu Feb 4 10:01:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

oorestisime-guest pushed a commit to branch master
in repository flask-wtf.

commit af02ee1fed68e6f68dd409ce7b67c481b458495b
Author: Orestis Ioannou <orestis at oioannou.com>
Date:   Thu Feb 4 00:15:37 2016 +0100

    Disable test that uses internet
---
 tests/test_recaptcha.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_recaptcha.py b/tests/test_recaptcha.py
index d752e0a..ba43c8f 100644
--- a/tests/test_recaptcha.py
+++ b/tests/test_recaptcha.py
@@ -39,7 +39,7 @@ class TestRecaptcha(TestCase):
         response = self.client.post('/', data={})
         assert b'missing' in response.data
 
-    def test_send_recaptcha_request(self):
+    """def test_send_recaptcha_request(self):
         response = self.client.post('/', data={
             'g-recaptcha-response': 'test'
         })
@@ -48,7 +48,7 @@ class TestRecaptcha(TestCase):
         response = self.client.post('/', data=json.dumps({
             'g-recaptcha-response': 'test'
         }), content_type='application/json')
-        assert b'invalid' in response.data
+        assert b'invalid' in response.data"""
 
     def test_testing(self):
         self.app.testing = True

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flask-wtf.git



More information about the Python-modules-commits mailing list