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