'Command callback completes successfully.'

def test_send_cmd(self):

    success_msg = 'success'
    request_args = ['arg1', 'arg2', 'arg3']
    response = {'success': True, 'msg': 'Operation    successful'}
    request_func = mock.Mock(return_value=response)
    result = self.driver._send_cmd(request_func, success_msg, request_args)
    self.assertEqual(response, result)
