fix(certificate): omit legacy meta fields for NPM 2.x compatibility (#17) (#19)

Co-authored-by: b3nw <189466+b3nw@users.noreply.github.com>
This commit is contained in:
i/o agentandb3nw authored and GitHub committed 2026-10-14 21:06:14 -05:00
1 parent 725d323b96
commit feae6dedfb
9 files changed
+178 -53

No files matched your search

+3 -1
View File
@@ -1,15 +1,17 @@
"""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"
def test_server_http_app():
"""Ensure that the http_app can be retrieved without AttributeError."""
from npm_mcp.server import mcp
app = mcp.http_app()
assert app is not None