#NEWLINE# def test_trash( self ) : #NEWLINE# #INDENT# s2t ( self . filePath ) #NEWLINE# self . assertFalse ( op . exists ( self . filePath ) ) #NEWLINE# self . assertTrue ( op . exists ( op . join ( self . trashDir , str ( os . getuid ( ) ) , 'files' , self . fileName ) ) ) #NEWLINE# self . assertTrue ( op . exists ( op . join ( self . trashDir , str ( os . getuid ( ) ) , 'info' , ( cfg . fileName + '.trashinfo' ) ) ) ) #NEWLINE# cfg = ConfigParser ( ) #NEWLINE# cfg . read ( op . join ( self . trashDir , str ( os . getuid ( ) ) , 'info' , ( self . fileName + '.trashinfo' ) ) ) #NEWLINE# self . assertEqual ( self . fileName , cfg . get ( 'Trash Info' , 'Path' , 1 ) )