chore: apply ruff auto-fixes and remove dead AST scripts
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from typing import Any
|
||||
import pytest
|
||||
import time
|
||||
import os
|
||||
import sys
|
||||
@@ -23,7 +22,7 @@ def test_gemini_cli_full_integration(live_gui: Any) -> None:
|
||||
# For CI/testing we prefer mock
|
||||
mock_script = os.path.abspath("tests/mock_gemini_cli.py")
|
||||
cli_cmd = f'"{sys.executable}" "{mock_script}"'
|
||||
print(f"[TEST] Setting current_provider to gemini_cli")
|
||||
print("[TEST] Setting current_provider to gemini_cli")
|
||||
client.set_value("current_provider", "gemini_cli")
|
||||
print(f"[TEST] Setting gcli_path to {cli_cmd}")
|
||||
client.set_value("gcli_path", cli_cmd)
|
||||
@@ -64,7 +63,7 @@ def test_gemini_cli_full_integration(live_gui: Any) -> None:
|
||||
content = entry.get("content", "")
|
||||
success_markers = ["processed the tool results", "Here are the files", "Here are the lines", "Script hello.ps1 created successfully"]
|
||||
if any(marker in content for marker in success_markers):
|
||||
print(f"[TEST] Success! Found final message in history.")
|
||||
print("[TEST] Success! Found final message in history.")
|
||||
found_final = True
|
||||
break
|
||||
if found_final:
|
||||
|
||||
Reference in New Issue
Block a user