#NEWLINE# def test_all_locales_none( self ) : #NEWLINE# #INDENT# addon = None #NEWLINE# field_name = 'description' #NEWLINE# eq_ ( helpers . all_locales ( addon , field_name ) , None ) #NEWLINE# addon = Mock ( ) #NEWLINE# field_name = 'description' #NEWLINE# del addon . description #NEWLINE# eq_ ( helpers . all_locales ( addon , field_name ) , None )