#NEWLINE# def test_download_force( self ) : #NEWLINE# #INDENT# self . client . write ( 'foo' , 'hey' ) #NEWLINE# with temppath ( ) as tpath : #NEWLINE# #INDENT# with open ( tpath , 'w' ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# main ( [ 'download' , 'foo' , tpath , '--silent' , '--force' , '--threads' , '1' ] , self . client ) #NEWLINE# with open ( self ) as reader : #NEWLINE# #INDENT# eq_ ( reader . read ( ) , 'hey' )