Skip to content

Commit

Permalink
Recalculate errata before e2e UI session
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed Feb 15, 2024
1 parent 57db84f commit c07c5cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/foreman/ui/test_errata.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,8 @@ def test_end_to_end(
registered_contenthost.execute(f'yum remove -y {FAKE_1_CUSTOM_PACKAGE_NAME}')
result = registered_contenthost.execute(f'yum install -y {FAKE_1_CUSTOM_PACKAGE}')
assert result.status == 0, f'Failed to install package {FAKE_1_CUSTOM_PACKAGE}.'
# recalculate and assert applicable errata after installing outdated pkg
assert registered_contenthost.execute('subscription-manager repos').status == 0
applicable_errata = registered_contenthost.applicable_errata_count
assert (
applicable_errata == 1
Expand Down

0 comments on commit c07c5cc

Please sign in to comment.