We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zaboura/vertica-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test_utils.py•471 B
# tests/test_utils.py
import logging
from vertica_mcp.utils import setup_logger
def test_setup_logger_writes_to_stderr(capsys):
log = setup_logger(verbosity=2) # DEBUG
log.debug("hello debug")
log.info("hello info")
captured = capsys.readouterr()
# Messages should be in stderr (StreamHandler default)
assert "hello debug" in captured.err or "hello debug" in captured.out
assert "hello info" in captured.err or "hello info" in captured.out