Fix test failures: update to new AddDependencyParams field names
- Update tests to use issue_id/depends_on_id instead of from_id/to_id - Fix test_client_lazy_initialization to mock create_bd_client instead of BdClient - Add workspace setup for lazy initialization test - Fixes 2 test failures (now 123 passing, down from 121) Amp-Thread-ID: https://ampcode.com/threads/T-71b3ce65-87cb-451a-a30d-162d76d92f9c Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -348,8 +348,8 @@ async def test_ready_work_tool(mcp_client):
|
||||
await mcp_client.call_tool(
|
||||
"dep",
|
||||
{
|
||||
"from_id": blocked_issue["id"],
|
||||
"to_id": blocking_issue["id"],
|
||||
"issue_id": blocked_issue["id"],
|
||||
"depends_on_id": blocking_issue["id"],
|
||||
"dep_type": "blocks",
|
||||
},
|
||||
)
|
||||
@@ -573,8 +573,8 @@ async def test_blocked_tool(mcp_client):
|
||||
await mcp_client.call_tool(
|
||||
"dep",
|
||||
{
|
||||
"from_id": blocked_issue["id"],
|
||||
"to_id": blocking_issue["id"],
|
||||
"issue_id": blocked_issue["id"],
|
||||
"depends_on_id": blocking_issue["id"],
|
||||
"dep_type": "blocks",
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user