#NEWLINE# def test_lookup__invalid( self ) : #NEWLINE# #INDENT# storage_path = 'path/to/somewhe.re' #NEWLINE# iterable = [ BulkTestObject ( { #NEWLINE# #INDENT# '_bar' : helper , #NEWLINE# #UNINDENT# } ) ] #NEWLINE# helper = AdjustmentHelper ( iterable , lookup = 'storage_path._bar' ) #NEWLINE# helper . adjust ( 'fit' , width = 50 , height = 50 ) #NEWLINE# helper . _finalize ( ) #NEWLINE# self . assertEqual ( helper . adjusted , { #NEWLINE# #INDENT# iterable [ 0 ] : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( helper . remaining , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )