Skip to content

test(fastmcp): Remove assertions on root properties in handler results - #6909

Draft
alexander-alderman-webb wants to merge 4 commits into
webb/add-httpx-dependency-mcpfrom
webb/fastmcp-types
Draft

test(fastmcp): Remove assertions on root properties in handler results#6909
alexander-alderman-webb wants to merge 4 commits into
webb/add-httpx-dependency-mcpfrom
webb/fastmcp-types

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Contributor

Description

Issues

Reminders

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

98848 passed | ❌ 4 failed | ⏭️ 6803 skipped | Total: 105655 | Pass Rate: 93.56% | Execution Time: 359m 29s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +9578
Passed Tests 📈 +9011
Failed Tests 📈 +4
Skipped Tests 📈 +563

➕ New Tests (4)

View new tests
  • test_fastmcp_resource_sync[False-fastmcp]
    • File: tests.integrations.fastmcp.test_fastmcp
    • Status: ❌ Failing
  • test_fastmcp_resource_sync[False-fastmcp]
    • File: tests.integrations.fastmcp.test_fastmcp
    • Status: ❌ Failing
  • test_fastmcp_resource_sync[False-fastmcp]
    • File: tests.integrations.fastmcp.test_fastmcp
    • Status: ❌ Failing
  • test_fastmcp_resource_sync[False-fastmcp]
    • File: tests.integrations.fastmcp.test_fastmcp
    • Status: ❌ Failing

❌ Failed Tests

test_fastmcp_resource_sync[False-fastmcp]

File: tests.integrations.fastmcp.test_fastmcp
Suite: py3.10-fastmcp-v0.1.0
Error: ValueError: too many values to unpack (expected 1)

Stack Trace
tests/integrations/fastmcp/test_fastmcp.py:1095: in test_fastmcp_resource_sync
    (tx,) = events
E   ValueError: too many values to unpack (expected 1)

test_fastmcp_resource_sync[False-fastmcp]

File: tests.integrations.fastmcp.test_fastmcp
Suite: py3.13-fastmcp-v0.1.0
Error: ValueError: too many values to unpack (expected 1)

Stack Trace
tests/integrations/fastmcp/test_fastmcp.py:1095: in test_fastmcp_resource_sync
    (tx,) = events
    ^^^^^
E   ValueError: too many values to unpack (expected 1)

test_fastmcp_resource_sync[False-fastmcp]

File: tests.integrations.fastmcp.test_fastmcp
Suite: py3.14-fastmcp-v0.1.0
Error: ValueError: too many values to unpack (expected 1, got 2)

Stack Trace
tests/integrations/fastmcp/test_fastmcp.py:1095: in test_fastmcp_resource_sync
    (tx,) = events
    ^^^^^
E   ValueError: too many values to unpack (expected 1, got 2)

test_fastmcp_resource_sync[False-fastmcp]

File: tests.integrations.fastmcp.test_fastmcp
Suite: py3.14t-fastmcp-v0.1.0
Error: ValueError: too many values to unpack (expected 1, got 2)

Stack Trace
tests/integrations/fastmcp/test_fastmcp.py:1095: in test_fastmcp_resource_sync
    (tx,) = events
    ^^^^^
E   ValueError: too many values to unpack (expected 1, got 2)

✅ Patch coverage is 100.00%. Project has 2485 uncovered lines.
✅ Project coverage is 89.86%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.56%    89.86%     +0.3%
==========================================
  Files          193       193         —
  Lines        24514     24514         —
  Branches      8676      8676         —
==========================================
+ Hits         21956     22029       +73
- Misses        2558      2485       -73
- Partials      1400      1394        -6

Generated by Codecov Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant