#NEWLINE# @ pytest . fixture ( scope = 'module' ) #NEWLINE# def generate( request ) : #NEWLINE# #INDENT# generate_reference = request . config . getvalue ( 'generate_reference' ) #NEWLINE# if ( request is None ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return generate_reference