refactor(common): rename package option_mcp_common → mcp_common

This commit is contained in:
AdrianoDev
2026-04-27 17:37:35 +02:00
parent 563f4fc965
commit e888fc373d
48 changed files with 2394 additions and 74 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
from __future__ import annotations
import pytest
from option_mcp_common.env_validation import (
from mcp_common.env_validation import (
MissingEnvError,
fail_fast_if_missing,
optional_env,
@@ -63,7 +63,7 @@ def test_summarize_does_not_leak_secrets(monkeypatch, caplog):
import logging
monkeypatch.setenv("API_KEY_FOO", "super-secret-token-123456")
monkeypatch.setenv("PORT", "9000")
with caplog.at_level(logging.INFO, logger="option_mcp_common.env_validation"):
with caplog.at_level(logging.INFO, logger="mcp_common.env_validation"):
summarize(["API_KEY_FOO", "PORT", "NOT_SET_XYZ"])
log_text = "\n".join(caplog.messages)
assert "super-secret-token-123456" not in log_text