claude-memory/graph/solutions/fix-soak-and-draftlist-test-failures-c29d2f.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

910 B

id type title tags importance confidence created updated
c29d2fb4-d2f6-46e9-a95a-8d6ae4110db8 solution Fix SOAK and DraftList test failures
major-domo
python
test-fix
pydantic
0.5 0.8 2025-12-09T00:23:12.413916+00:00 2025-12-09T00:23:12.413916+00:00

Fixed two test issues in Major Domo discord-app-v2:

  1. SOAK listener tests: The listener was refactored from regex pattern (SOAK_PATTERN) to simple string detection (' soak' in text.lower()). Updated tests to use a helper function matching the new logic instead of importing the removed constant.

  2. DraftList model tests: The model now requires nested Team and Player objects (not just IDs) since the API returns populated objects. Updated test helper methods to create proper mock Team and Player instances with all required fields (including lname for Team).

Both fixes ensure tests match the current implementation patterns.