#NEWLINE# def test_append( self ) : #NEWLINE# #INDENT# delete ( 'nohup.out' ) #NEWLINE# output = echo [ 'This is output' ] #NEWLINE# ( self & NOHUP ) #NEWLINE# time . sleep ( 0.2 ) #NEWLINE# assert ( self . read_file ( 'nohup.out' ) == 'This is output\n' ) #NEWLINE# ( output & NOHUP ) #NEWLINE# time . sleep ( 0.2 ) #NEWLINE# assert ( self . read_file ( 'nohup.out' ) == ( 'This is output\n' * 2 ) ) #NEWLINE# delete ( 'nohup.out' )