def _create_operation_command(self, name, command): argument_table = self.create_argument_table( command.get('arguments', [])) mock_operation = mock.Mock(spec=OperationModel) mock_operation.deprecated = False operation = ServiceOperation(name, 'parent', None, mock_operation, None) operation._arg_table = argument_table return operation
def _create_operation_command(self, name, command): argument_table = self.create_argument_table( command.get('arguments', [])) operation = ServiceOperation(name, 'parent', None, {}, None) operation._arg_table = argument_table return operation