Skip to content

Commit

Permalink
Merge pull request #906 from ATIX-AG/fix-ci-tests
Browse files Browse the repository at this point in the history
Fix ci tests

(cherry picked from commit 1d887ea)
  • Loading branch information
quba42 authored and patchback[bot] committed Oct 2, 2023
1 parent 300e723 commit 7d1bbfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
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

# 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

0 comments on commit 7d1bbfb

Please sign in to comment.