Merge pull request #9205 from beeankha/fix_pylint_error

Fix Pylint Error

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2021-02-02 19:19:46 +00:00
committed by GitHub

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]