def stop_highlights_patcher(self): """ Stops the patcher for the get_week_highlights method if the patch is still in progress. """ if _is_started(self.highlights_patcher): self.highlights_patcher.stop()
def stop_patching(self): for _patch in self.patches: if _is_started(_patch): _patch.stop()