#NEWLINE# def test_upload_speed( self ) : #NEWLINE# #INDENT# bt . shutdown_event = threading . Event ( ) #NEWLINE# files = [ 'http://atl.speedtest.pavlovmedia.net/speedtest/upload.php' ] #NEWLINE# sizes = [ 250000 ] #NEWLINE# self . assertTrue ( bt . uploadSpeed ( 'http://atl.speedtest.pavlovmedia.net/speedtest/upload.php' , self , 1 ) ) #NEWLINE# self . assertFalse ( bt . uploadSpeed ( '' , sizes , 1 ) )