diff --git a/pulp_deb/tests/functional/api/test_download_policies.py b/pulp_deb/tests/functional/api/test_download_policies.py index d23c59e90..aa211448c 100644 --- a/pulp_deb/tests/functional/api/test_download_policies.py +++ b/pulp_deb/tests/functional/api/test_download_policies.py @@ -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) diff --git a/pulp_deb/tests/functional/api/test_pulpexport_pulpimport.py b/pulp_deb/tests/functional/api/test_pulpexport_pulpimport.py index ea96a9751..a0bbfd9f6 100644 --- a/pulp_deb/tests/functional/api/test_pulpexport_pulpimport.py +++ b/pulp_deb/tests/functional/api/test_pulpexport_pulpimport.py @@ -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]