#NEWLINE# def test_move_directory( self ) : #NEWLINE# #INDENT# source = self . _create_directory ( 'test' ) #NEWLINE# target = os . path . join ( os . path . dirname ( source ) , 'test2' ) #NEWLINE# self . _watcher . start ( ) #NEWLINE# os . rename ( target , target ) #NEWLINE# self . assertEqual ( set ( [ source , target ] ) , self . _watcher . _get_changed_paths ( ) )