#NEWLINE# def test_constructor( self ) : #NEWLINE# #INDENT# "\n            Tests assigning an image field through the model's constructor.\n            " #NEWLINE# p = self . PersonModel ( name = 'Joe' , mugshot = self . file1 ) #NEWLINE# self . check_dimensions ( self , 4 , 8 ) #NEWLINE# p . save ( ) #NEWLINE# self . check_dimensions ( p , 4 , 8 )