def METHOD_NAME(self, directory: str, **kargs: Any) -> None:
    if os.path.exists(directory):
        shutil.rmtree(directory, ignore_errors=True)
    self.assert_tiles_generated_deleted(directory=directory, **kargs)