Include a check for the webhook_key related resource url

in the tests for JTs and WFJTs.
This commit is contained in:
Jeff Bradberry
2019-08-16 15:54:25 -04:00
parent 2310413dc0
commit 771ef275d4
2 changed files with 2 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ class TestJobTemplateSerializerGetRelated():
'schedules',
'activity_stream',
'launch',
'webhook_key',
'notification_templates_started',
'notification_templates_success',
'notification_templates_error',

View File

@@ -32,6 +32,7 @@ class TestWorkflowJobTemplateSerializerGetRelated():
'workflow_jobs',
'launch',
'workflow_nodes',
'webhook_key',
])
def test_get_related(self, mocker, test_get_related, workflow_job_template, related_resource_name):
test_get_related(WorkflowJobTemplateSerializer,