#NEWLINE# def test_random( self ) : #NEWLINE# #INDENT# su = ShortUUID ( ) #NEWLINE# for i in range ( 1000 ) : #NEWLINE# #INDENT# self . assertEqual ( len ( su . random ( ) ) , 22 ) #NEWLINE# #UNINDENT# for i in range ( 1 , 100 ) : #NEWLINE# #INDENT# self . assertEqual ( len ( su . random ( i ) ) , i )