APPRISE_ALLOW_SERVICES and APPRISE_DENY_SERVICES globals added (#64)

This commit is contained in:
Chris Caron
2021-12-01 21:28:02 -05:00
committed by GitHub
parent efe88a52d3
commit 2943bce981
8 changed files with 445 additions and 7 deletions

View File

@ -41,7 +41,7 @@ class GetTests(SimpleTestCase):
"""
# our key to use
key = 'test_get_config'
key = 'test_get_config_'
# GET returns 405 (not allowed)
response = self.client.get('/get/{}'.format(key))
@ -49,7 +49,7 @@ class GetTests(SimpleTestCase):
# No content saved to the location yet
response = self.client.post('/get/{}'.format(key))
assert response.status_code == 204
self.assertEqual(response.status_code, 204)
# Add some content
response = self.client.post(