#NEWLINE# def test_contructor_dict_arg( self ) : #NEWLINE# #INDENT# update_dict = { #NEWLINE# #INDENT# 'Test' : 'A custom custructydict' , #NEWLINE# #UNINDENT# } #NEWLINE# bm = core . JSONableDict ( ) #NEWLINE# bm . add ( TestResource ( self ) ) #NEWLINE# self . assertEqual ( bm [ 'TestResource' ] , update_dict )