From a651955a22c4d68bcba580acf1b9470fd630edf8 Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Wed, 29 Nov 2023 12:05:12 +0530 Subject: [PATCH] Add default content type as yum for make_repository helper (#13196) Signed-off-by: Gaurav Talreja (cherry picked from commit c8429aa9a2f67c90a27193cdc082b79c313c233a) --- robottelo/host_helpers/cli_factory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/robottelo/host_helpers/cli_factory.py b/robottelo/host_helpers/cli_factory.py index 5a285fd3ba4..3a4fd4e627c 100644 --- a/robottelo/host_helpers/cli_factory.py +++ b/robottelo/host_helpers/cli_factory.py @@ -125,6 +125,7 @@ def create_object(cli_object, options, values=None, credentials=None): '_entity_cls': 'Repository', 'name': gen_alpha, 'url': settings.repos.yum_1.url, + 'content-type': 'yum', }, 'role': {'name': gen_alphanumeric}, 'filter': {},