#NEWLINE# def test_thumbnailer_fieldfile( self ) : #NEWLINE# #INDENT# profile = models . Profile ( avatar = 'avatars/test.jpg' ) #NEWLINE# thumbnailer = files . get_thumbnailer ( profile . avatar ) #NEWLINE# thumb = thumbnailer [ 'small' ] #NEWLINE# self . assertEqual ( ( thumb . width , thumb . height ) , ( 20 , 20 ) )