Beispiel #1
0
 def testManagerLEDs(self):
     """
     test the Ledon, ledoff and ledstatus option parameter
     """
     opts = Options()  # default options object
     opts.cluster = TEST_CLUSTER
     opts.node = TEST_NODE
     opts.ledon = True
     Manager(opts).doit()
     # TODO: get led status and test if it's on
     opts.ledon = False
     opts.ledoff = True
     Manager(opts).doit()