Dev #72
@@ -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"])
|
||||
|
||||
Reference in new issue
Block a user