From 7af245ef4ea84ae301368583ffb467a33c7debd2 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) --- 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',