diff --git a/CHANGES/403.bugfix b/CHANGES/403.bugfix new file mode 100644 index 0000000..092936c --- /dev/null +++ b/CHANGES/403.bugfix @@ -0,0 +1 @@ +Disable the an `import_all` test if pulpcore version is equal or higher than 3.59 given a specific fix in that version. diff --git a/pulp_ostree/tests/functional/api/test_import.py b/pulp_ostree/tests/functional/api/test_import.py index 4264403..b245f51 100644 --- a/pulp_ostree/tests/functional/api/test_import.py +++ b/pulp_ostree/tests/functional/api/test_import.py @@ -367,9 +367,13 @@ def test_import_all_as_ostree_repo_admin( ostree_repositories_api_client, ostree_repositories_versions_api_client, tmp_path, + has_pulp_plugin, ): """Create a role for ostree admin, then import a repository with import-all.""" + if has_pulp_plugin("core", min="3.59"): + pytest.skip("#402 After pulpcore 3.59 users are not allowed to upload artifacts.") + os.chdir(tmp_path) repo_name = str(uuid.uuid4()) sample_dir = tmp_path / str(uuid.uuid4())