refactor(tests): Add strict type hints to fourth batch of test files
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from typing import Any
|
||||
import pytest
|
||||
import time
|
||||
import os
|
||||
@@ -5,7 +6,7 @@ import sys
|
||||
import requests
|
||||
from api_hook_client import ApiHookClient
|
||||
|
||||
def test_gemini_cli_full_integration(live_gui):
|
||||
def test_gemini_cli_full_integration(live_gui: Any) -> None:
|
||||
"""
|
||||
Integration test for the Gemini CLI provider and tool bridge.
|
||||
Handles 'ask_received' events from the bridge and any other approval requests.
|
||||
@@ -70,7 +71,7 @@ def test_gemini_cli_full_integration(live_gui):
|
||||
assert approved_count > 0, "No approval events were processed"
|
||||
assert found_final, "Final message from mock CLI was not found in the GUI history"
|
||||
|
||||
def test_gemini_cli_rejection_and_history(live_gui):
|
||||
def test_gemini_cli_rejection_and_history(live_gui: Any) -> None:
|
||||
"""
|
||||
Integration test for the Gemini CLI provider: Rejection flow and history.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user