From 6dacf73fad3c4a1842bc11e196621c5c2801a1f5 Mon Sep 17 00:00:00 2001 From: dosas Date: Wed, 3 Apr 2024 16:44:04 +0200 Subject: [PATCH] Docker repos now support on demand policy (#14608) https://github.com/Katello/katello/commit/d2c20af6911adb02ca9005350a9f2c1ad1f8140b (cherry picked from commit 0f122798073a8f4d8b8bb06c99902d1110d567c8) --- tests/foreman/api/test_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreman/api/test_repository.py b/tests/foreman/api/test_repository.py index 728249f097c..5ac276e194d 100644 --- a/tests/foreman/api/test_repository.py +++ b/tests/foreman/api/test_repository.py @@ -489,7 +489,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 != 'yum' + if content_type not in ['yum', 'docker'] ] ), indirect=True,