#NEWLINE# def test_get_button_attrs_custom_attrs_get_partitioned( self ) : #NEWLINE# #INDENT# mock_tool = type ( 'mock_tool' , ( object , ) , { #NEWLINE# #INDENT# 'attrs' : { #NEWLINE# #INDENT# 'nonstandard' : 'wombat' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# ( attrs , custom ) = self . instance . _get_button_attrs ( custom ) #NEWLINE# self . assertEqual ( custom [ 'nonstandard' ] , 'wombat' )