Skip to content

Commit

Permalink
removing location selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeHiggins2 committed May 10, 2024
1 parent b9dd7a1 commit 167c891
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/foreman/api/test_reporttemplates.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def test_positive_applied_errata(
@pytest.mark.rhel_ver_match('[^6]')
@pytest.mark.no_containers
def test_positive_applied_errata_by_search(
function_org, function_location, function_lce, rhel_contenthost, target_sat
function_org, function_lce, rhel_contenthost, target_sat
):
"""Generate an Applied Errata report
Expand Down Expand Up @@ -499,9 +499,7 @@ def test_positive_applied_errata_by_search(
.read()
.description
)
result = rhel_contenthost.register(
function_org, function_location, activation_key.name, target_sat
)
result = rhel_contenthost.register(function_org, None, activation_key.name, target_sat)
assert f'The registered system name is: {rhel_contenthost.hostname}' in result.stdout
assert rhel_contenthost.subscribed
rhel_contenthost.execute(r'subscription-manager repos --enable \*')
Expand Down

0 comments on commit 167c891

Please sign in to comment.