diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py index 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 subprocess from pathlib import Path from 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.py index 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 base64 import json from pathlib import Path diff --git a/tests/cli/test_install.py b/tests/cli/test_install.py index 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_app diff --git a/tests/cli/test_run.py b/tests/cli/test_run.py index 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 pytest from fastmcp.cli.run import ( diff --git a/tests/cli/test_shared.py b/tests/cli/test_shared.py index 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