Skip to content

Commit a550836

Browse files
authored
[6.16.z] Use sat and snap versions for fm update tuning test (#22296)
1 parent ad5255f commit a550836

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/foreman/maintain/test_upgrade.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,14 @@ def test_negative_pre_update_tuning_profile_check(request, custom_host):
8888
:expectedresults: Pre-update check fails.
8989
"""
9090
profile = request.node.callspec.id
91-
sat_version = ".".join(settings.server.version.release.split('.')[0:2])
9291
# Register to CDN for RHEL repos, download and enable ohsnap repos,
9392
# and enable the satellite module and install it on the host
9493
custom_host.register_to_cdn()
95-
custom_host.download_repofile(product='satellite', release=sat_version)
94+
custom_host.download_repofile(
95+
product='satellite',
96+
release=settings.server.version.release,
97+
snap=settings.server.version.snap,
98+
)
9699
custom_host.install_satellite_or_capsule_package()
97100
# Install with development tuning profile to get around installer checks
98101
custom_host.execute(

0 commit comments

Comments
 (0)