def main(): DRAC4 = "devices.d/dell-drac-4I.cfg" ACT_STATUS = "actions.d/status.cfg" ACT_ONOFF = "actions.d/power-on-off.cfg" test_action(DRAC4, ACT_STATUS, "getopt") test_action(DRAC4, ACT_ONOFF, "stdin")
def main(): DEVICE = "devices.d/apc-v5.cfg" ACT_STATUS = "actions.d/status.cfg" ACT_ONOFF = "actions.d/power-on-off.cfg" ACT_LIST = "actions.d/list.cfg" test_action(DEVICE, ACT_STATUS, "getopt", verbose=1) # test_action(DEVICE, ACT_ONOFF, "stdin") test_action(DEVICE, ACT_LIST, "getopt")
def main(): ## @todo: utility1 - run single 'agent' 'action' 'method' ## @todo: utility2 - run complex tests (using utility1?) -> file with test suites AGENTDEF = "devices.d/true.cfg" DUMMYDEF = "devices.d/dummy.cfg" ACT_STATUS = "actions.d/status.cfg" ACT_ONOFF = "actions.d/power-on-off.cfg" # test_action(AGENTDEF, ACTIONDEF, "stdin") # test_action(AGENTDEF, ACTIONDEF, "getopt") test_action(DUMMYDEF, ACT_STATUS, "getopt") test_action(DUMMYDEF, ACT_ONOFF, "getopt")