Permalink
Browse files

flake8 for tests #15

  • Loading branch information...
cezio committed Mar 2, 2018
1 parent af38224 commit 23143cb35179da7a70def9713470b84c923752f7
Showing with 2 additions and 4 deletions.
  1. +2 −4 tests/test_resources.py
View
@@ -113,17 +113,15 @@ def testNotificationsApi(self):
self.assertEqual(q.count(), 0)
def testWebhookNotifications(self):
Rcp = Recipient
r = Resource.query.first()
lhost = 'http://localhost:8000/'
# identifier, url, params, no error
test_data = (('', None, None, False,),
('http://localhost:8000/', lhost, {}, True,),
('http://localhost:8000/\n\n', lhost, {}, True,),
('http://localhost:8000/\n\ntest=true', lhost, {'test': 'true'}, True,),
('http://localhost:8000/\n\ntest=true', lhost,
{'test': 'true'}, True,),
)
for identifier, url, params, success in test_data:

0 comments on commit 23143cb

Please sign in to comment.