From cf070d5bf152cd4a2f3de6b555738a363c343ed3 Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Tue, 28 Nov 2023 08:08:22 +0100 Subject: [PATCH] fix for webhook event trigger test (#13170) (cherry picked from commit bb2350402914d1b04b693e462e76bf1de661ca3d) --- tests/foreman/api/test_webhook.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/foreman/api/test_webhook.py b/tests/foreman/api/test_webhook.py index 019ac42484c..77d8784ca5e 100644 --- a/tests/foreman/api/test_webhook.py +++ b/tests/foreman/api/test_webhook.py @@ -162,7 +162,9 @@ def test_positive_event_triggered(self, module_org, target_sat, setting_update): :CaseImportance: Critical """ hook = target_sat.api.Webhooks( - event='actions.katello.repository.sync_succeeded', http_method='GET' + event='actions.katello.repository.sync_succeeded', + http_method='GET', + target_url=settings.repos.yum_0.url, ).create() repo = target_sat.api.Repository( organization=module_org, content_type='yum', url=settings.repos.yum_0.url