From a61a17e2a96d195f6e54b4bc5b5ef0106c1e7413 Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Mon, 5 Feb 2024 18:14:54 +0100 Subject: [PATCH] job invocation with credentials added (#13987) (cherry picked from commit 3d25a46ec3e6b5655b80eb56dcabf3338bdbc98b) --- 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 0703740760b..0db645d04f6 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',