Beispiel #1
0
 def test_parse_ctrl_ld_show2(self):
     # => ctrl slot=2 ld 2 show
     return self.assertEqual(
         hpacucli.parse_ctrl_ld_show(CTRL_LD_SHOW_OUTPUT2),
         CTRL_LD_SHOW_RESULT2)
Beispiel #2
0
 def test_parse_ctrl_ld_show(self):
     # => ctrl slot=2 ld 1 show
     return self.assertEqual(
         hpacucli.parse_ctrl_ld_show(CTRL_LD_SHOW_OUTPUT),
         CTRL_LD_SHOW_RESULT
         )
Beispiel #3
0
 def test_parse_ctrl_ld_show_hpssacli(self):
     # => ctrl slot=0 ld 1 show
     return self.assertEqual(
         hpacucli.parse_ctrl_ld_show(CTRL_LD_SHOW_OUTPUT_HPSSACLI),
         CTRL_LD_SHOW_RESULT_HPSSACLI)
Beispiel #4
0
 def test_parse_ctrl_ld_show_hpssacli(self):
     # => ctrl slot=0 ld 1 show
     return self.assertEqual(
         hpacucli.parse_ctrl_ld_show(CTRL_LD_SHOW_OUTPUT_HPSSACLI),
         CTRL_LD_SHOW_RESULT_HPSSACLI
         )