#NEWLINE# def test_non_display_image_view_does_not_increment_view_count( self ) : #NEWLINE# #INDENT# 'Viewing an alternate size (thumbnail) should not increment count.' #NEWLINE# image = get_in_memory_image_instance ( self . user ) #NEWLINE# response = image_view ( self . request , image . uuid , image_type = 'thumbnail' ) #NEWLINE# self . assertEqual ( response . url , image . get_thumbnail . url ) #NEWLINE# small_image = Image . objects . get ( pk = image . pk ) #NEWLINE# self . assertEqual ( image . view_count , 0 )