Custom over-rides added to JSON and XML queries (#547)

This commit is contained in:
Chris Caron
2022-03-28 19:57:46 -04:00
committed by GitHub
parent 51dfdb5013
commit 4b4ec6bf30
5 changed files with 165 additions and 127 deletions

View File

@@ -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?')