#NEWLINE# @ pytest . fixture ( params = [ ( ( 3 , 4 , 2 ) , 1 ) , ( ( 4 , 2 , 1 ) , 3 ) , ( ( 2 , 3 , 1 ) , 4 ) ] ) #NEWLINE# def next_fixture( self , request , iter_parts_ ) : #NEWLINE# #INDENT# ( idxs , idx ) = request . param #NEWLINE# package = Package ( ) #NEWLINE# package . iter_parts . return_value = self . i_image_parts ( request , idxs ) #NEWLINE# ext = 'foo' #NEWLINE# expected_value = ( '/ppt/media/image%d.%s' % ( idx , ext ) ) #NEWLINE# return ( package , ext , expected_value )