#NEWLINE# def test_image_after_constructor( self ) : #NEWLINE# #INDENT# '\n            Tests behavior when image is not passed in constructor.\n            ' #NEWLINE# p = self . PersonModel ( name = 'Joe' ) #NEWLINE# self . assertEqual ( isinstance ( p . mugshot , TestImageFieldFile ) , True ) #NEWLINE# self . assertEqual ( bool ( p . mugshot ) , False ) #NEWLINE# p = self . PersonModel ( name = 'Joe' ) #NEWLINE# p . mugshot = p . file1 #NEWLINE# self . check_dimensions ( p , 4 , 8 )