Scratch this. get_random_opponent returns a ChallengeUser object, no need for lines 24-25.