#NEWLINE# def test_unprepped( self ) : #NEWLINE# #INDENT# image = self . create_image ( '100x100.png' ) #NEWLINE# with self . assertNumQueries ( 1 ) : #NEWLINE# #INDENT# helper = AdjustmentHelper ( [ image ] , generate = False ) #NEWLINE# helper . adjust ( 'crop' , width = 50 , height = 50 ) #NEWLINE# info_dict = helper [ 0 ] [ 1 ] #NEWLINE# #UNINDENT# with self . assertNumQueries ( 4 ) : #NEWLINE# #INDENT# response = self . client . get ( info_dict [ 'url' ] ) #NEWLINE# #UNINDENT# self . assertEqual ( response . status_code , 302 )