<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def promote_owner(self, stream_id, user_id):
        ''' promote user to owner in stream '''
        req_hook = 'pod/v1/room/' + stream_id + '/membership/promoteOwner'
        req_args = '{ "id": %s }' % user_id
        status_code, response = self.__rest__.POST_query(req_hook, req_args)
        self.logger.debug('%s: %s' % (status_code, response))
        return status_code, response