skip on rate limit

This commit is contained in:
zzstoatzz 2025-07-18 11:10:26 -05:00
commit 1e473cd0ef
2 changed files with 25 additions and 0 deletions

View file

@ -14,6 +14,7 @@ GITHUB_REMOTE_MCP_URL = "https://api.githubcopilot.com/mcp/"
HEADER_AUTHORIZATION = "Authorization"
FASTMCP_GITHUB_TOKEN = os.getenv("FASTMCP_GITHUB_TOKEN")
# Skip tests if no GitHub token is available
pytestmark = pytest.mark.xfail(
not FASTMCP_GITHUB_TOKEN,