#NEWLINE# def test_find_election( self ) : #NEWLINE# #INDENT# election = models . Election . get_by_user_as_admin ( self . user ) [ 0 ] #NEWLINE# self . assertEquals ( self . election , election ) #NEWLINE# election = models . Election . get_by_uuid ( election . election . uuid ) #NEWLINE# self . assertEquals ( self . election , election ) #NEWLINE# election = models . Election . get_by_short_name ( self . election . short_name ) #NEWLINE# self . assertEquals ( self . election , election )