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

Fix ci tests #906

Merged
merged 2 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
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 pulp_deb/tests/functional/api/test_download_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_lazy_sync_immediate_download_test(
):
"""Test whether a immediate sync after a lazy one has all artifacts available."""
# Cleanup artifacts
NON_LAZY_ARTIFACT_COUNT = 14
NON_LAZY_ARTIFACT_COUNT = 17
quba42 marked this conversation as resolved.
Show resolved Hide resolved

# Create repository and remote and sync them
repo, remote = deb_init_and_sync(remote_args=remote_args)
Expand Down
6 changes: 5 additions & 1 deletion pulp_deb/tests/functional/api/test_pulpexport_pulpimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ def _deb_perform_import(
if "toc" not in body:
body["toc"] = filenames[0]
else:
filenames = [f for f in list(an_export.output_file_info.keys()) if f.endswith("tar.gz")]
filenames = [
f
for f in list(an_export.output_file_info.keys())
if f.endswith("tar") or f.endswith(".tar.gz")
]
if "path" not in body:
body["path"] = filenames[0]

Expand Down