π The fast, Pythonic way to build MCP servers and clients.
Ensure test is platform agnostic
Jeremiah Lowin7b90ea4cb5c6
diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.pyindex 9a6c7f8f3..bb7c0304a 100644--- a/tests/cli/test_cli.py+++ b/tests/cli/test_cli.py@@ -1,5 +1,3 @@-"""Tests for the main CLI functionality."""-import subprocessfrom pathlib import Pathfrom unittest.mock import Mock, patch@@ -52,7 +50,7 @@ class TestMainCLI:"--with","fastmcp","--with-editable",- "/path/to/package",+ str(editable_path),"fastmcp","run","server.py",diff --git a/tests/cli/test_cursor.py b/tests/cli/test_cursor.pyindex 415a851e5..5f3820b9d 100644--- a/tests/cli/test_cursor.py+++ b/tests/cli/test_cursor.py@@ -1,5 +1,3 @@-"""Tests for Cursor integration functionality."""-import base64import jsonfrom pathlib import Pathdiff --git a/tests/cli/test_install.py b/tests/cli/test_install.pyindex ece867c3a..55fe056d9 100644--- a/tests/cli/test_install.py+++ b/tests/cli/test_install.py@@ -1,5 +1,3 @@-"""Tests for the install subcommands."""-from fastmcp.cli.install import install_appdiff --git a/tests/cli/test_run.py b/tests/cli/test_run.pyindex 1a2032b4f..7a685ce09 100644--- a/tests/cli/test_run.py+++ b/tests/cli/test_run.py@@ -1,5 +1,3 @@-"""Tests for the run module functionality."""-import pytestfrom fastmcp.cli.run import (diff --git a/tests/cli/test_shared.py b/tests/cli/test_shared.pyindex 01d67b966..b01ad2cfd 100644--- a/tests/cli/test_shared.py+++ b/tests/cli/test_shared.py@@ -1,5 +1,3 @@-"""Tests for shared CLI functionality."""-from fastmcp.cli.cli import _parse_env_var