mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-05-15 18:57:58 +02:00
be009a4094
Rename the entire project from FuzzForge to SecPipe: - Python packages: fuzzforge_cli → secpipe_cli, fuzzforge_common → secpipe_common, fuzzforge_mcp → secpipe_mcp, fuzzforge_tests → secpipe_tests - Directories: fuzzforge-cli → secpipe-cli, fuzzforge-common → secpipe-common, fuzzforge-mcp → secpipe-mcp, fuzzforge-tests → secpipe-tests - Environment variables: FUZZFORGE_* → SECPIPE_* - MCP server name: SecPipe MCP Server - CI workflows, Makefile, Dockerfile, hub-config, NOTICE updated - Fix mcp-server.yml to use uvicorn secpipe_mcp.application:app
32 lines
804 B
Python
32 lines
804 B
Python
"""MCP tool tests for SecPipe AI.
|
|
|
|
Tests the MCP tools that are available in SecPipe AI.
|
|
"""
|
|
|
|
import pytest
|
|
from typing import TYPE_CHECKING
|
|
|
|
if TYPE_CHECKING:
|
|
from fastmcp import Client
|
|
from fastmcp.client import FastMCPTransport
|
|
|
|
|
|
async def test_init_project_tool_exists(
|
|
mcp_client: "Client[FastMCPTransport]",
|
|
) -> None:
|
|
"""Test that the init_project tool is available."""
|
|
tools = await mcp_client.list_tools()
|
|
tool_names = [tool.name for tool in tools]
|
|
|
|
assert "init_project" in tool_names
|
|
|
|
|
|
async def test_mcp_has_expected_tool_count(
|
|
mcp_client: "Client[FastMCPTransport]",
|
|
) -> None:
|
|
"""Test that MCP has the expected number of tools."""
|
|
tools = await mcp_client.list_tools()
|
|
|
|
# Should have project tools + hub tools
|
|
assert len(tools) >= 2
|