summaryrefslogtreecommitdiffstats
path: root/awx_collection/test
diff options
context:
space:
mode:
authorDavid O Neill <daoneill@redhat.com>2024-03-14 18:22:11 +0100
committerDave <dmz.oneill@gmail.com>2024-03-29 11:02:18 +0100
commitbb323c5710018f24069b3d421b9a29fa734cc78c (patch)
treeffe3c4ab0fcd0d9abcc5f9c5c8b88acc01df4382 /awx_collection/test
parentPass --exclude="list of exclude dirs like this" (diff)
downloadawx-bb323c5710018f24069b3d421b9a29fa734cc78c.tar.xz
awx-bb323c5710018f24069b3d421b9a29fa734cc78c.zip
Loosen up body check on template
https://github.com/ansible/awx/issues/14985 https://github.com/ansible/awx/issues/13983
Diffstat (limited to 'awx_collection/test')
-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 346ac41058..8bd2647b02 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 'The template rendering return a blank body' in body[1]
+ assert '{"started_by": "My Placeholder"}' in body[1]