From 202f44e1669ae3fb6311a80de2a29f6def55ff1e Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Thu, 9 Nov 2023 13:17:07 +0100 Subject: [PATCH] Update tests/foreman/api/test_webhook.py Co-authored-by: Omkar Khatavkar --- 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 9e0df5ebfe2..019ac42484c 100644 --- a/tests/foreman/api/test_webhook.py +++ b/tests/foreman/api/test_webhook.py @@ -167,7 +167,7 @@ def test_positive_event_triggered(self, module_org, target_sat, setting_update): repo = target_sat.api.Repository( organization=module_org, content_type='yum', url=settings.repos.yum_0.url ).create() - with target_sat.api.session.shell() as shell: + with target_sat.session.shell() as shell: shell.send('foreman-tail') repo.sync() assert_event_triggered(shell, hook.event)