Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #5983/6b8e291d backport][3.49] Future proof the pulp_file repair tests for python 3.11 #5987

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pulpcore/tests/functional/api/using_plugin/test_repair.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def repository_with_corrupted_artifacts(
repo = file_bindings.RepositoriesFileApi.read(file_repo.pulp_href)

# STEP 2: sample artifacts that will be modified on the filesystem later on
content1, content2 = sample(get_files_in_manifest(remote.url), 2)
content1, content2 = sample(list(get_files_in_manifest(remote.url)), 2)

# Modify an artifact
artifact1_path = artifacts_api_client.list(sha256=content1[1]).results[0].file
Expand Down