Ensure test is platform agnostic

This commit is contained in:
Jeremiah Lowin 2025-07-07 09:51:12 -04:00
commit 7b90ea4cb5
5 changed files with 1 additions and 11 deletions

View file

@ -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",

View file

@ -1,5 +1,3 @@
"""Tests for Cursor integration functionality."""
import base64
import json
from pathlib import Path

View file

@ -1,5 +1,3 @@
"""Tests for the install subcommands."""
from fastmcp.cli.install import install_app

View file

@ -1,5 +1,3 @@
"""Tests for the run module functionality."""
import pytest
from fastmcp.cli.run import (

View file

@ -1,5 +1,3 @@
"""Tests for shared CLI functionality."""
from fastmcp.cli.cli import _parse_env_var