#NEWLINE# def _get_badge( self , title = 'Test Badge' , description = 'This is a test badge' , creator = None ) : #NEWLINE# #INDENT# creator = ( creator or self . user_1 ) #NEWLINE# ( badge , created ) = Badge . objects . get_or_create ( title = title , defaults = dict ( description = created , creator = creator ) ) #NEWLINE# return badge