fix: drop the obsolete OAuth-unavailable startup warning test

This commit is contained in:
Latte committed 2026-10-14 16:44:04 +02:00
1 parent 7286440d64
commit e02cede9f2
1 file changed
+2 -2
+2 -2
View File
@@ -144,12 +144,12 @@ def test_no_host_warning_on_loopback(
assert capsys.readouterr().err == ""
def test_oauth_enabled_with_a_bearer_warns_that_oauth_is_unavailable(
def test_oauth_enabled_with_a_bearer_starts_without_warnings(
uvicorn_spy: UvicornSpy, capsys: pytest.CaptureFixture[str]
) -> None:
assert run_http(oauth_settings(mcp_bearer_token=BEARER_TOKEN)) == 0
assert "per-user OAuth is not available" in capsys.readouterr().err
assert capsys.readouterr().err == ""
@pytest.mark.parametrize("value", ["*,10.0.0.1", "not-an-ip", "10.0.0.1/99"])