Skip to content

Commit

Permalink
Update tests/foreman/api/test_webhook.py
Browse files Browse the repository at this point in the history
Co-authored-by: Omkar Khatavkar <[email protected]>
  • Loading branch information
pondrejk and Omkar Khatavkar authored Nov 9, 2023
1 parent 7d3c631 commit 202f44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/api/test_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 202f44e

Please sign in to comment.