Exemplo n.º 1
0
 def test__send_raw(self, ipmi_mock):
     ipmicmd = ipmi_mock.return_value
     ipminative._send_raw(self.info, '0x01 0x02 0x03 0x04')
     ipmicmd.xraw_command.assert_called_once_with(1, 2, data=[3, 4])
Exemplo n.º 2
0
 def test__send_raw(self, ipmi_mock):
     ipmicmd = ipmi_mock.return_value
     ipminative._send_raw(self.info, '0x01 0x02 0x03 0x04')
     ipmicmd.xraw_command.assert_called_once_with(1, 2, data=[3, 4])