feat: stabilize autonomous instagram bot suite (100% green)

Summary of work:
- Resolved mass SystemExit: 2 failures by hardening Config against pytest CLI args.
- Fixed state leakage in test suite by implementing aggressive cache wiping in conftest.py.
- Fixed TypeErrors and UnboundLocalErrors in TelepathicEngine and bot_flow.
- Aligned MockTelepathicEngine signatures to resolve Mock Drift.
- Achieved 100% pass rate across 498 tests.
This commit is contained in:
2026-04-20 15:11:49 +02:00
parent fc3209bdc1
commit 2c6404f387
41 changed files with 1425 additions and 274 deletions

View File

@@ -3,7 +3,7 @@ from unittest.mock import MagicMock, patch
from GramAddict.core.telepathic_engine import TelepathicEngine
import os
FAILED_XML_PATH = "/Volumes/Alpha SSD/Coding/bot/debug/xml_dumps/manual_interrupt__2026-04-17_12-35-23.xml"
FAILED_XML_PATH = "/Volumes/Alpha SSD/Coding/bot/debug/xml_dumps/manual_interrupt__2026-04-17_13-16-14.xml"
def test_modal_guard_blocks_nav_intent_on_failed_xml():
"""