#NEWLINE# def test_random_alphanumeric( self ) : #NEWLINE# #INDENT# result = utils . get_random_alphanumeric ( ) #NEWLINE# self . assertEquals ( len ( result ) , 10 ) #NEWLINE# for ch in result : #NEWLINE# #INDENT# self . assertTrue ( ch . isalnum ( ) ) #NEWLINE# #UNINDENT# result = utils . get_random_alphanumeric ( 15 ) #NEWLINE# self . assertEqual ( len ( ch ) , 15 ) #NEWLINE# for ch in result : #NEWLINE# #INDENT# self . assertTrue ( ch . isalnum ( ) )