Skip to content

Commit

Permalink
capsule upgrade playbook -- don't specify target version
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk committed Aug 7, 2024
1 parent 1730af2 commit d58ccc1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/foreman/api/test_remoteexecution.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@
import pytest

from robottelo.config import settings
from robottelo.hosts import get_sat_version
from robottelo.utils import ohsnap
from robottelo.utils.issue_handlers import is_open

CAPSULE_TARGET_VERSION = f'6.{get_sat_version().minor}.z'


@pytest.mark.tier4
Expand All @@ -38,9 +34,7 @@ def test_positive_run_capsule_upgrade_playbook(module_capsule_configured, target
:CaseImportance: Medium
"""
template_name = (
'Smart Proxy Upgrade Playbook' if is_open('BZ:2152951') else 'Capsule Upgrade Playbook'
)
template_name = 'Capsule Update Playbook'
template_id = (
target_sat.api.JobTemplate().search(query={'search': f'name="{template_name}"'})[0].id
)
Expand All @@ -50,7 +44,6 @@ def test_positive_run_capsule_upgrade_playbook(module_capsule_configured, target
data={
'job_template_id': template_id,
'inputs': {
'target_version': CAPSULE_TARGET_VERSION,
'whitelist_options': 'repositories-validate,repositories-setup,non-rh-packages',
},
'targeting_type': 'static_query',
Expand Down

0 comments on commit d58ccc1

Please sign in to comment.