From 48c734480aeb80c724a951ce0148fd1c7719be04 Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Wed, 8 Nov 2023 10:04:35 +0100 Subject: [PATCH] Update test_webhook.py --- tests/foreman/api/test_webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreman/api/test_webhook.py b/tests/foreman/api/test_webhook.py index 29f456b6ec4..677aed5f6b3 100644 --- a/tests/foreman/api/test_webhook.py +++ b/tests/foreman/api/test_webhook.py @@ -185,7 +185,7 @@ def test_negative_event_task_failed(self, module_org, target_sat, setting_update hook = target_sat.api.Webhooks( event='actions.katello.repository.sync_succeeded', http_method='GET' ).create() - repo = entities.Repository( + repo = target_sat.api.Repository( organization=module_org, content_type='yum', url='http://localhost/target' ).create() with target_sat.session.shell() as shell: