#NEWLINE# def test_config_bad_attributes( self ) : #NEWLINE# #INDENT# 'Check config with bad attributes.' #NEWLINE# config = { #NEWLINE# #INDENT# 'name' : 'test' , #NEWLINE# 'attributes' : [ ] , #NEWLINE# 'platform' : 'universal' , #NEWLINE# #UNINDENT# } #NEWLINE# response = universal . validate_config ( config ) #NEWLINE# self . assertTrue ( response ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , config [ 'attributes' ] )