From 27620673d335341739712a0dbfbed7275766786e Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Mon, 5 Feb 2024 14:57:40 +0100 Subject: [PATCH] job invocation with credentials added --- robottelo/host_helpers/cli_factory.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/robottelo/host_helpers/cli_factory.py b/robottelo/host_helpers/cli_factory.py index fdfd29152ab..5e47b021c8e 100644 --- a/robottelo/host_helpers/cli_factory.py +++ b/robottelo/host_helpers/cli_factory.py @@ -153,7 +153,10 @@ def create_object(cli_object, options, values=None, credentials=None): 'host_collection': { 'name': gen_alpha, }, - 'job_invocation': {}, + 'job_invocation': {'_redirect': 'job_invocation_with_credentials'}, + 'job_invocation_with_credentials': { + '_entity_cls': 'JobInvocation', + }, 'job_template': { 'job-category': 'Miscellaneous', 'provider-type': 'SSH',