Spaces:
Running
Running
Jeremiah Lowin commited on
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 |
-
|
| 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 |
|