Skip to content

fix(testing): add missing sys.modules stubs for autobot_shared sub-modules in test_property_graph.py (#4730)#4736

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-4730
Apr 15, 2026
Merged

fix(testing): add missing sys.modules stubs for autobot_shared sub-modules in test_property_graph.py (#4730)#4736
mrveiss merged 1 commit intoDev_new_guifrom
issue-4730

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 15, 2026

Closes #4730

Summary

Test file stubbed autobot_shared and autobot_shared.redis_client but autobot_memory_graph/core.py also imports autobot_shared.redis_management.types (for DATABASE_MAPPING) and autobot_shared.ssot_config (for config). Extended the stub section to register these with minimal mock attributes so the package imports cleanly.

Tests

  • 33/33 passed across all TestAddNode, TestAddEdge, TestGetNeighbors, TestQueryNodes, TestDeleteNode, TestDeleteEdge, TestMultiHop, TestSubgraph, TestShortestPath

🤖 Generated with Claude Code

@mrveiss mrveiss merged commit 2d54469 into Dev_new_gui Apr 15, 2026
3 of 4 checks passed
@mrveiss mrveiss deleted the issue-4730 branch April 15, 2026 18:44
@github-actions
Copy link
Copy Markdown

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

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