mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-20 20:44:17 +02:00
xfail when github token is not set (#1123)
This commit is contained in:
parent
b0f45a85c4
commit
ce1a85ceaf
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ FASTMCP_GITHUB_TOKEN = os.getenv("FASTMCP_GITHUB_TOKEN")
|
|||
|
||||
# Skip tests if no GitHub token is available
|
||||
pytestmark = pytest.mark.xfail(
|
||||
FASTMCP_GITHUB_TOKEN is None,
|
||||
reason="The FASTMCP_GITHUB_TOKEN environment variable is not set",
|
||||
not FASTMCP_GITHUB_TOKEN,
|
||||
reason="The FASTMCP_GITHUB_TOKEN environment variable is not set or empty",
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue