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:
ed
2026-07-05 21:21:25 -04:00
parent 9586265df0
commit 3b55bdff0e
11 changed files with 36 additions and 52 deletions
+6 -6
View File
@@ -14,9 +14,9 @@ def test_mock_malformed_json(live_gui) -> None:
# Configure mock provider
mock_path = Path("tests/mock_gemini_cli.py").absolute()
client.set_value("current_provider", "gemini_cli")
client.set_value("current_provider", "minimax")
client.set_value("current_model", "MiniMax-M2.7")
time.sleep(1)
client.set_value("gcli_path", f'"{sys.executable}" "{mock_path}"')
time.sleep(1)
# Inject MOCK_MODE
@@ -56,9 +56,9 @@ def test_mock_error_result(live_gui) -> None:
# Configure mock provider
mock_path = Path("tests/mock_gemini_cli.py").absolute()
client.set_value("current_provider", "gemini_cli")
client.set_value("current_provider", "minimax")
client.set_value("current_model", "MiniMax-M2.7")
time.sleep(1)
client.set_value("gcli_path", f'"{sys.executable}" "{mock_path}"')
time.sleep(1)
# Inject MOCK_MODE
@@ -98,9 +98,9 @@ def test_mock_timeout(live_gui) -> None:
# Configure mock provider
mock_path = Path("tests/mock_gemini_cli.py").absolute()
client.set_value("current_provider", "gemini_cli")
client.set_value("current_provider", "minimax")
client.set_value("current_model", "MiniMax-M2.7")
time.sleep(1)
client.set_value("gcli_path", f'"{sys.executable}" "{mock_path}"')
time.sleep(1)
# Inject MOCK_MODE