Custom_Command(): no need for class members

This commit is contained in:
Robert Schmidt
2024-09-28 12:45:07 +02:00
parent 61ea76e7af
commit 71807db4ab
3 changed files with 23 additions and 25 deletions
+4 -4
View File
@@ -450,10 +450,10 @@ def ExecuteActionWithParam(action):
RAN.prematureExit = True
elif action == 'Custom_Command':
RAN.node = test.findtext('node')
RAN.command = test.findtext('command')
RAN.command_fail = test.findtext('command_fail') in ['True', 'true', 'Yes', 'yes']
RAN.CustomCommand(HTML)
node = test.findtext('node')
command = test.findtext('command')
command_fail = test.findtext('command_fail') in ['True', 'true', 'Yes', 'yes']
cls_oaicitest.Custom_Command(HTML, node, command, command_fail)
elif action == 'Pull_Cluster_Image':
string_field = test.findtext('images_to_pull')