mcarchive-org/tests/conftest.py
Ryan Malloy 5265a6440b Initial mcarchive-org MCP server
FastMCP server wrapping archive.org's public read APIs:
- search_items / scrape_items: advanced search + bulk cursor pagination
- get_item_metadata / list_files: progressive disclosure with filtering
- get_file_url / download_file: canonical URLs and streaming downloads
  with HTTP Range resume + optional MD5 verification

Smoke-tested end-to-end via claude -p headless MCP and pytest against
live archive.org endpoints.
2026-04-21 09:41:20 -06:00

15 lines
358 B
Python

import pytest
def pytest_collection_modifyitems(config, items):
for item in items:
if "asyncio" in item.keywords or item.get_closest_marker("asyncio"):
continue
pytest_plugins = ["pytest_asyncio"]
def pytest_configure(config: pytest.Config) -> None:
config.addinivalue_line("markers", "network: test hits live archive.org")