#NEWLINE# def invokeTestStorletinParallel( self ) : #NEWLINE# #INDENT# mythreads = [ ] #NEWLINE# for i in range ( 10 ) : #NEWLINE# #INDENT# new_thread = myTestThread ( self . url , self . token , self ) #NEWLINE# mythreads . append ( new_thread ) #NEWLINE# #UNINDENT# for t in mythreads : #NEWLINE# #INDENT# t . start ( ) #NEWLINE# #UNINDENT# for t in mythreads : #NEWLINE# #INDENT# t . join ( )