def test_configWithZookeeperHostsBeingSet(self):
        """Test that the config is generated correctly when ZOOKEEPER_HOSTS is set to a value."""
        env = {"ZOOKEEPER_HOSTS": "a.fake.url"}
        with mock.patch.dict(os.environ, env):
            with mock.patch("marqo.config.Config._connect_to_zookeeper") as mock_connect_to_zookeeper:
                c = generate_config()
                mock_connect_to_zookeeper.assert_called_once()
                self.assertIsNotNone(c._zookeeper_client)
Test that the config is generated correctly when ZOOKEEPER_HOSTS is set to a value.
tests/integ_tests/tensor_search/test_config.py