Private
Public Access
test: switch sim tests from gemini_cli to real minimax/M2.7 provider
Per user direction: use a real provider instead of mocks. The 10 sim tests that previously set current_provider='gemini_cli' + gcli_path to tests/mock_gemini_cli.py now set: current_provider='minimax' current_model='MiniMax-M2.7' Removed the gcli_path setters (no longer needed). Updated comments that mentioned 'Use gemini_cli with the mock script'. Updated test_sim_ai_settings.py provider mock to minimax. tests/mock_gemini_cli.py + mock_gcli.bat retained as a backstop (no longer used by any current test). tests/test_cli_tool_bridge*.py GEMINI_CLI_HOOK_CONTEXT references retained (meta-tooling, separate).
This commit is contained in:
@@ -80,9 +80,8 @@ def test_mma_complete_lifecycle(live_gui) -> None:
|
||||
# ------------------------------------------------------------------
|
||||
# Stage 1: Provider setup
|
||||
# ------------------------------------------------------------------
|
||||
client.set_value('current_provider', 'gemini_cli')
|
||||
time.sleep(0.3)
|
||||
client.set_value('gcli_path', f'"{sys.executable}" "{os.path.abspath("tests/mock_gemini_cli.py")}"')
|
||||
client.set_value('current_provider', 'minimax')
|
||||
client.set_value('current_model', 'MiniMax-M2.7')
|
||||
time.sleep(0.3)
|
||||
# Per Tier 1 investigation: do NOT change files_base_dir here and do NOT
|
||||
# click btn_project_save. The previous version set files_base_dir to
|
||||
@@ -216,4 +215,4 @@ def test_mma_complete_lifecycle(live_gui) -> None:
|
||||
if not ok:
|
||||
print("[SIM] WARNING: mma_tier_usage Tier 3 still zero after 30s — may not be wired to hook API yet")
|
||||
|
||||
print("[SIM] MMA complete lifecycle simulation PASSED.")
|
||||
print("[SIM] MMA complete lifecycle simulation PASSED.")
|
||||
|
||||
Reference in New Issue
Block a user