Skip to content

Commit bf38f76

Browse files
phernandezclaude
andcommitted
fix: add external_id to test stub classes after merge
The merge from main introduced external_id to project objects. Update stub classes in tests to include this attribute. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 731da47 commit bf38f76

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/mcp/test_tool_recent_activity.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ async def fake_call_get(client, url, params=None):
267267

268268
class P:
269269
id = 1
270+
external_id = "test-external-id"
270271
name = "p"
271272
path = "/tmp/p"
272273

tests/mcp/test_tool_search.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ class StubProject:
297297
project_url = "http://test"
298298
name = "test-project"
299299
id = 1
300+
external_id = "test-external-id"
300301

301302
async def fake_get_active_project(*args, **kwargs):
302303
return StubProject()
@@ -322,6 +323,7 @@ class StubProject:
322323
project_url = "http://test"
323324
name = "test-project"
324325
id = 1
326+
external_id = "test-external-id"
325327

326328
async def fake_get_active_project(*args, **kwargs):
327329
return StubProject()

0 commit comments

Comments
 (0)