Data-Test-Executer Framework speziell zum Test von Datenverarbeitungen mit Datengenerierung, Systemvorbereitungen, Einspielungen, ganzheitlicher diversifizierender Vergleich
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
625 B

#
# ----------------------------------------------------------
"""
This module implements the technique to interact via bash to the test-object.
The class has to be constructed by the tool-Handling because of keyword "bash" in the configuration,
then it will be called with the interface / abstract-class cli_abstract
"""
import os
import utils.cli_abstract
import basic
class CliFcts(utils.cli_abstract.CliFcts):
def execCmd(self, cmds):
"""
:param cmds:
:return:
"""
for cmd in cmds:
rc = os.system(cmd)
self.comp.m.logInfo("RC "+str(rc)+" zu CMD "+cmd)