Fix pylint throwaway variable error

This commit is contained in:
beeankha
2021-02-02 08:56:42 -05:00
parent 3408f5270e
commit 3ad9aa902d

View File

@@ -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]