Exemple #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)
Exemple #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
         )
Exemple #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)
Exemple #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
         )