#NEWLINE# @ pytest . fixture #NEWLINE# def image_part_fixture( self , _image_parts_ , image_part_ ) : #NEWLINE# #INDENT# package = Package ( ) #NEWLINE# image_file = 'foobar.png' #NEWLINE# package . _image_parts . get_or_add_image_part . return_value = image_part_ #NEWLINE# return ( package , image_file , image_part_ )