Skip to content

Conversation

@Teagan42
Copy link
Contributor

What

  • expose media metadata and id lookups as FastMCP resources
  • replace placeholder test fixtures with realistic movie and show data
  • add positive and negative tests for new resources

Why

  • allow clients to retrieve media records and their external ids via resource URIs
  • ensure tests better reflect real-world scenarios and guard against failures

Affects

  • mcp_plex/server.py
  • tests under tests/

Testing

  • uv run ruff check .
  • uv run pytest
  • uv run --with coverage coverage run -m pytest
  • uv run --with coverage coverage report

Documentation

  • n/a

https://chatgpt.com/codex/tasks/task_e_68b3df4560ec8328be32d8a5d463e051

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
mcp_plex
   loader.py1791094%32–34, 296, 299–302, 486, 492
   server.py85495%34–35, 208, 228
TOTAL3661496% 

Tests Skipped Failures Errors Time
11 0 💤 0 ❌ 0 🔥 6.112s ⏱️

@Teagan42 Teagan42 merged commit bb126b4 into main Aug 31, 2025
4 checks passed
@Teagan42 Teagan42 deleted the codex/add-real-test-data-and-resources-for-media-items branch August 31, 2025 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants