def METHOD_NAME(self, nodestore_delete_multi, os_environ):
    os_environ.side_effect = lambda key: "1" if key == "_SENTRY_CLEANUP" else None
    group = self.event.group
    with self.tasks():
        delete_groups(object_ids=[group.id])
    assert nodestore_delete_multi.call_count == 0