def test_configWithoutZookeeperHostsBeingSet(self):
        """Test that the config is generated correctly when ZOOKEEPER_HOSTS is not set or is an empty string."""
        environment_variable_test_cases = [
            {"ZOOKEEPER_HOSTS": ""},  # Empty string
            dict()  # Empty dict, unset
        ]
        for env in environment_variable_test_cases:
            with self.subTest(env):
                with mock.patch.dict(os.environ, env):
                    c = generate_config()
                    self.assertIsNone(c._zookeeper_client)
Test that the config is generated correctly when ZOOKEEPER_HOSTS is not set or is an empty string.
tests/integ_tests/tensor_search/test_config.py