mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 18:00:36 +00:00
test: Remove skip marker from MCP authentication tests
These tests use local in-process MCP servers and don't require external API calls or recordings. They can run in both replay and record modes without issues since they don't depend on pre-recorded API responses.
This commit is contained in:
parent
8d30c4018d
commit
0391aaa8eb
1 changed files with 0 additions and 8 deletions
|
|
@ -4,8 +4,6 @@
|
|||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
from llama_stack.core.library_client import LlamaStackAsLibraryClient
|
||||
|
|
@ -13,12 +11,6 @@ from tests.common.mcp import make_mcp_server
|
|||
|
||||
from .helpers import setup_mcp_tools
|
||||
|
||||
# Skip these tests in replay mode until recordings are generated
|
||||
pytestmark = pytest.mark.skipif(
|
||||
os.environ.get("LLAMA_STACK_TEST_INFERENCE_MODE") == "replay",
|
||||
reason="No recordings yet for authorization tests. Run with --inference-mode=record-if-missing to generate.",
|
||||
)
|
||||
|
||||
|
||||
def test_mcp_authorization_bearer(compat_client, text_model_id):
|
||||
"""Test that bearer authorization is correctly applied to MCP requests."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue