Jeremiah Lowin commited on
Commit
b2c5766
·
unverified ·
1 Parent(s): c21d179

xfail when github token is not set (#1123)

Browse files
tests/integration_tests/test_github_mcp_remote.py CHANGED
@@ -16,8 +16,8 @@ FASTMCP_GITHUB_TOKEN = os.getenv("FASTMCP_GITHUB_TOKEN")
16
 
17
  # Skip tests if no GitHub token is available
18
  pytestmark = pytest.mark.xfail(
19
- FASTMCP_GITHUB_TOKEN is None,
20
- reason="The FASTMCP_GITHUB_TOKEN environment variable is not set",
21
  )
22
 
23
 
 
16
 
17
  # Skip tests if no GitHub token is available
18
  pytestmark = pytest.mark.xfail(
19
+ not FASTMCP_GITHUB_TOKEN,
20
+ reason="The FASTMCP_GITHUB_TOKEN environment variable is not set or empty",
21
  )
22
 
23