#NEWLINE# def test_assigment( self ) : #NEWLINE# #INDENT# t = MyModel ( ) #NEWLINE# t . save ( ) #NEWLINE# t . field = 50 #NEWLINE# t . number = 'two' #NEWLINE# t . multi . sub1 = 'aaa' #NEWLINE# t . multi . sub2 = 11 #NEWLINE# assert ( t . field == 50 ) #NEWLINE# assert ( t . number == 'two' ) #NEWLINE# assert ( t . multi . sub1 == 'aaa' ) #NEWLINE# assert ( t . multi . sub2 == 11 ) #NEWLINE# assert ( t . params == { #NEWLINE# #INDENT# '_class' : 'devops.tests.models.test_base:MyModel' , #NEWLINE# 'field' : 50 , #NEWLINE# 'multi' : { #NEWLINE# #INDENT# 'sub2' : 11 , #NEWLINE# 'sub1' : 'aaa' , #NEWLINE# #UNINDENT# } , #NEWLINE# 'number' : 'two' , #NEWLINE# #UNINDENT# } )