#NEWLINE# @ pytest . fixture #NEWLINE# def tmpname( ) : #NEWLINE# #INDENT# cns = ( ( string . ascii_lowercase + string . ascii_uppercase ) + string . digits ) #NEWLINE# tn = '' #NEWLINE# for i in xrange ( 8 ) : #NEWLINE# #INDENT# tn += cns [ random . randint ( 0 , ( len ( cns ) - 1 ) ) ] #NEWLINE# #UNINDENT# return tn