#NEWLINE# def test_assignment( self ) : #NEWLINE# #INDENT# p = self . PersonModel ( ) #NEWLINE# self . check_dimensions ( p , None , None , 'mugshot' ) #NEWLINE# self . check_dimensions ( p , None , None , 'headshot' ) #NEWLINE# p . mugshot = self . file1 #NEWLINE# self . check_dimensions ( p , 4 , 8 , 'mugshot' ) #NEWLINE# self . check_dimensions ( self , None , None , 'headshot' ) #NEWLINE# p . headshot = self . file2 #NEWLINE# self . check_dimensions ( p , 4 , 8 , 'mugshot' ) #NEWLINE# self . check_dimensions ( p , 8 , 4 , 'headshot' ) #NEWLINE# p . mugshot = None #NEWLINE# self . check_dimensions ( p , None , None , 'mugshot' ) #NEWLINE# self . check_dimensions ( p , 8 , 4 , 'headshot' ) #NEWLINE# p . headshot = None #NEWLINE# self . check_dimensions ( p , None , None , 'mugshot' ) #NEWLINE# self . check_dimensions ( p , None , None , 'headshot' )