diff --git a/tests/foreman/api/test_repository.py b/tests/foreman/api/test_repository.py index a32469e670..f3b9119d55 100644 --- a/tests/foreman/api/test_repository.py +++ b/tests/foreman/api/test_repository.py @@ -479,7 +479,7 @@ def test_negative_update_to_invalid_download_policy(self, repo, target_sat): [ {'content_type': content_type, 'download_policy': 'on_demand'} for content_type in constants.REPO_TYPE - if content_type not in ['yum', 'docker', 'deb'] + if content_type not in ['yum', 'docker', 'deb', 'file'] ], indirect=True, ids=lambda x: x['content_type'], diff --git a/tests/foreman/cli/test_repository.py b/tests/foreman/cli/test_repository.py index 1bbfefae25..718eaa62a7 100644 --- a/tests/foreman/cli/test_repository.py +++ b/tests/foreman/cli/test_repository.py @@ -659,7 +659,7 @@ def test_negative_update_to_invalid_download_policy(self, repo_options, repo, ta [ {'content-type': content_type, 'download-policy': 'on_demand'} for content_type in REPO_TYPE - if content_type not in ['yum', 'docker', 'deb'] + if content_type not in ['yum', 'docker', 'deb', 'file'] ] ), indirect=True,