summaryrefslogtreecommitdiffstats
path: root/awx_collection
diff options
context:
space:
mode:
authorDavid O Neill <dmz.oneill@gmail.com>2024-02-02 16:48:17 +0100
committerDave <dmz.oneill@gmail.com>2024-02-14 16:49:26 +0100
commit19f80c0a26c2c636dc1f29884deb914737c8b493 (patch)
treeeaf1cc7baf358185858641cfea2b44d076acabc0 /awx_collection
parentUpdate .github/workflows/stage.yml (diff)
downloadawx-19f80c0a26c2c636dc1f29884deb914737c8b493.tar.xz
awx-19f80c0a26c2c636dc1f29884deb914737c8b493.zip
GH13983 - Add additional check for bad templates
Diffstat (limited to 'awx_collection')
-rw-r--r--awx_collection/test/awx/test_notification_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/awx_collection/test/awx/test_notification_template.py b/awx_collection/test/awx/test_notification_template.py
index 8bd2647b02..346ac41058 100644
--- a/awx_collection/test/awx/test_notification_template.py
+++ b/awx_collection/test/awx/test_notification_template.py
@@ -155,4 +155,4 @@ def test_build_notification_message_undefined(run_module, admin_user, organizati
nt = NotificationTemplate.objects.get(id=result['id'])
body = job.build_notification_message(nt, 'running')
- assert '{"started_by": "My Placeholder"}' in body[1]
+ assert 'The template rendering return a blank body' in body[1]