#NEWLINE# def test_default_parameters( self ) : #NEWLINE# #INDENT# 'Test providing a default value to the model' #NEWLINE# model = JsonModel ( ) #NEWLINE# model . json = { #NEWLINE# #INDENT# 'check' : 12 , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( model . json , { #NEWLINE# #INDENT# 'check' : 12 , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( type ( self . json ) , dict ) #NEWLINE# self . assertEqual ( model . default_json , { #NEWLINE# #INDENT# 'check' : 12 , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( type ( model . default_json ) , dict )