Skip to content

Commit

Permalink
[6.12.z] leapp cherypick failure fix & component name updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysawant committed Sep 21, 2023
1 parent 946d9d1 commit eff99e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion testimony.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ CaseComponent:
- katello-agent
- katello-tracer
- LDAP
- LeappIntegration
- Leappintegration
- LifecycleEnvironments
- LocalizationInternationalization
- Logging
Expand Down
8 changes: 5 additions & 3 deletions tests/foreman/cli/test_leapp_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:CaseLevel: Integration
:CaseComponent: LeappIntegration
:CaseComponent: Leappintegration
:Team: Rocket
Expand Down Expand Up @@ -176,7 +176,9 @@ def verify_target_repo_on_satellite(


@pytest.fixture
def custom_leapp_host(upgrade_path, module_target_sat, module_sca_manifest_org, function_leapp_ak):
def custom_leapp_host(
upgrade_path, module_target_sat, module_sca_manifest_org, module_location, function_leapp_ak
):
"""Checkout content host and register with satellite"""
deploy_args = {}
deploy_args['deploy_rhel_version'] = upgrade_path['source_version']
Expand All @@ -187,7 +189,7 @@ def custom_leapp_host(upgrade_path, module_target_sat, module_sca_manifest_org,
deploy_flavor=settings.flavors.default,
) as chost:
result = chost.register(
module_sca_manifest_org, None, function_leapp_ak.name, module_target_sat
module_sca_manifest_org, module_location, function_leapp_ak.name, module_target_sat
)
assert result.status == 0, f'Failed to register host: {result.stderr}'
yield chost
Expand Down

0 comments on commit eff99e9

Please sign in to comment.