'L{inotify.INotify.ignore} removes a directory from the watchlist'

def test_ignoreDirectory(self):

    self.inotify.watch(self.dirname, autoAdd=True)
    self.assertTrue(self.inotify._isWatched(self.dirname))
    self.inotify.ignore(self.dirname)
    self.assertFalse(self.inotify._isWatched(self.dirname))
