예제 #1
0
파일: tests.py 프로젝트: kennym/nejupy
 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())