mirror of
https://github.com/caronc/apprise.git
synced 2025-12-18 10:14:03 +08:00
Custom over-rides added to JSON and XML queries (#547)
This commit is contained in:
@@ -182,7 +182,8 @@ def test_plugin_custom_json_edge_cases(mock_get, mock_post):
|
||||
dataset = json.loads(details[1]['data'])
|
||||
assert dataset['title'] == 'title'
|
||||
assert 'message' in dataset
|
||||
assert dataset['message'] == 'body'
|
||||
# message over-ride was provided
|
||||
assert dataset['message'] == 'test'
|
||||
|
||||
assert instance.url(privacy=False).startswith(
|
||||
'json://localhost:8080/command?')
|
||||
|
||||
Reference in New Issue
Block a user