Skip to content

Commit

Permalink
subscription-manager repos call, local pass
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed Oct 11, 2023
1 parent 764066e commit 390080b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions robottelo/host_helpers/contenthost_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ class HostInfo:
@property
def applicable_errata_count(self):
"""return the applicable errata count for a host"""
self.run('subscription-manager repos')
return self.nailgun_host.read().content_facet_attributes['errata_counts']['total']


Expand Down
3 changes: 1 addition & 2 deletions tests/foreman/api/test_errata.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ def test_positive_install_multiple_in_host(target_sat, rhel_contenthost, module_
search_rate=20,
max_tries=15,
)
rhel_contenthost.run('subscription-manager repos')
sleep(10)
sleep(20)
assert rhel_contenthost.applicable_errata_count == pre_errata_count - 1


Expand Down

0 comments on commit 390080b

Please sign in to comment.