diff --git a/tests/test_resources.py b/tests/test_resources.py index a423a2a0..636130fe 100644 --- a/tests/test_resources.py +++ b/tests/test_resources.py @@ -113,9 +113,6 @@ def testNotificationsApi(self): self.assertEqual(q.count(), 0) def testWebhookNotifications(self): - Rcp = Recipient - - r = Resource.query.first() lhost = 'http://localhost:8000/' @@ -123,7 +120,8 @@ def testWebhookNotifications(self): 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: