Skip to content

Commit

Permalink
[6.14.z] ISS fix for CVV sorting issue (#14146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Feb 20, 2024
1 parent c12d99d commit bf84d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_satellitesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ def test_positive_export_import_filtered_cvv(
}
)
exporting_cv = target_sat.cli.ContentView.info({'id': exporting_cv['id']})
exporting_cvv_id = exporting_cv['versions'][0]['id']
exporting_cvv_id = max(exporting_cv['versions'], key=lambda x: int(x['id']))['id']
# Check presence of 1 rpm due to filter
export_packages = target_sat.cli.Package.list({'content-view-version-id': exporting_cvv_id})
assert len(export_packages) == 1
Expand Down

0 comments on commit bf84d3f

Please sign in to comment.