def METHOD_NAME(self):
    # Providers are preserved with GitFS's instance_map
    for remote in self.main_class.remotes:
        remote.fetched = False
    del self.main_class
    self._tmp_dir.cleanup()