10 lines
286 B
Python
10 lines
286 B
Python
"""Tests for the server module and its FastMCP initialization."""
|
|
|
|
import pytest
|
|
|
|
def test_server_imports():
|
|
"""Ensure that the server and mcp instance can be imported without errors."""
|
|
from npm_mcp.server import mcp
|
|
assert mcp is not None
|
|
assert mcp.name == "npm-mcp"
|