[Python-modules-commits] [flask-wtf] 03/08: Disable test that uses internet
Adrian Vondendriesch
discostu-guest at moszumanska.debian.org
Fri Jun 2 08:30:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
discostu-guest pushed a commit to branch master
in repository flask-wtf.
commit 97ca4f193494097d713a6309e162431fe3fef45c
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 bd8c93a..d71c490 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