def stop(self):
        self._remove_all_ephemeral_nodes()
        self._children_watches = {}
        self._data_watches = {}

        self._make_state_change(KazooState.LOST)
All the ephemeral nodes and watches will be removed.
dataset/ETHPy150Open pinterest/kingpin/kingpin/tests/kazoo_utils/mock_kazoo_client.py/MockKazooClient.stop