Skip to content

Commit

Permalink
ISS fix for CVV sorting issue (#14142)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik authored Feb 20, 2024
1 parent 4b01a79 commit e7d97b3
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 @@ -773,7 +773,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 e7d97b3

Please sign in to comment.