def test_unicode_representation(self): """ Test the participant model __unicode__() output. """ participant = Participant(competition=self.competition, team=self.team, first_name="First", last_name="Last", username="******", password="******", email="*****@*****.**") self.assertEquals(str(participant), participant.get_full_name())