mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Include a check for the webhook_key related resource url
in the tests for JTs and WFJTs.
This commit is contained in:
@@ -50,6 +50,7 @@ class TestJobTemplateSerializerGetRelated():
|
||||
'schedules',
|
||||
'activity_stream',
|
||||
'launch',
|
||||
'webhook_key',
|
||||
'notification_templates_started',
|
||||
'notification_templates_success',
|
||||
'notification_templates_error',
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user