Skip to content

Commit

Permalink
Updating the FDI image to the latest RHEL (SatelliteQE#15761)
Browse files Browse the repository at this point in the history
* hide some code to avoide error

* Removed unnecessary if-else condition after the PR was merged and updated the fdi_image
  • Loading branch information
amolpati30 authored Jul 25, 2024
1 parent a7ed77e commit ad0e263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/foreman/cli/test_discoveredhost.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,9 @@ def test_positive_verify_updated_fdi_image(target_sat):
target_sat.execute('yum -y --disableplugin=foreman-protector install foreman-discovery-image')

if target_sat.os_version.major == 9:
version = '8.9' if is_open('SAT-25275') else str(target_sat.os_version)
version = '8.10' if is_open('SAT-25275') else str(target_sat.os_version)
elif target_sat.os_version.major == 8:
version = '8.9' if is_open('SAT-24197') else str(target_sat.os_version)
version = str(target_sat.os_version)

result = target_sat.execute(f'grep "url=" {discovery_ks_path}')
assert version in result.stdout

0 comments on commit ad0e263

Please sign in to comment.