def createRequest(self): """Creates and returns an accepted invitation for the current user. """ # create other user to send invite to other_data = GSoCProfileHelper(self.gsoc, self.dev_test) other_data.createOtherUser('*****@*****.**') other_data.createProfile() request = other_data.createMentorRequest(self.org) return (other_data, request)