From 3ad9aa902d52bdd679d5211963a584c1057a9caf Mon Sep 17 00:00:00 2001 From: beeankha Date: Tue, 2 Feb 2021 08:56:42 -0500 Subject: [PATCH] Fix pylint throwaway variable error --- awx_collection/test/awx/test_notification_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx_collection/test/awx/test_notification_template.py b/awx_collection/test/awx/test_notification_template.py index 96fbd5e56c..cb1ffdca6b 100644 --- a/awx_collection/test/awx/test_notification_template.py +++ b/awx_collection/test/awx/test_notification_template.py @@ -136,5 +136,5 @@ def test_build_notification_message_undefined(run_module, admin_user, organizati ), admin_user) nt = NotificationTemplate.objects.get(id=result['id']) - _, body = job.build_notification_message(nt, 'running') - assert '{"started_by": "My Placeholder"}' in body + body = job.build_notification_message(nt, 'running') + assert '{"started_by": "My Placeholder"}' in body[1]