def test_include_directory_create(self): event = make_event("", "", pyinotify.IN_CREATE | pyinotify.IN_ISDIR) self.failIf(is_delete_dir_event(event))
def test_exclude_self_delete(self): event = make_event("", "", pyinotify.IN_DELETE | pyinotify.IN_DELETE_SELF) self.assert_(is_delete_dir_event(event))
def test_exclude_directory_delete(self): event = make_event("", "", pyinotify.IN_DELETE | pyinotify.IN_ISDIR) self.assert_(is_delete_dir_event(event))