refactor(tests): Add strict type hints to second batch of test files
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import pytest
|
||||
from typing import Any
|
||||
import time
|
||||
import sys
|
||||
import os
|
||||
@@ -13,7 +14,7 @@ from simulation.sim_tools import ToolsSimulation
|
||||
from simulation.sim_execution import ExecutionSimulation
|
||||
|
||||
@pytest.mark.integration
|
||||
def test_context_sim_live(live_gui):
|
||||
def test_context_sim_live(live_gui: Any) -> None:
|
||||
"""Run the Context & Chat simulation against a live GUI."""
|
||||
client = ApiHookClient()
|
||||
assert client.wait_for_server(timeout=10)
|
||||
@@ -23,7 +24,7 @@ def test_context_sim_live(live_gui):
|
||||
sim.teardown()
|
||||
|
||||
@pytest.mark.integration
|
||||
def test_ai_settings_sim_live(live_gui):
|
||||
def test_ai_settings_sim_live(live_gui: Any) -> None:
|
||||
"""Run the AI Settings simulation against a live GUI."""
|
||||
client = ApiHookClient()
|
||||
assert client.wait_for_server(timeout=10)
|
||||
@@ -33,7 +34,7 @@ def test_ai_settings_sim_live(live_gui):
|
||||
sim.teardown()
|
||||
|
||||
@pytest.mark.integration
|
||||
def test_tools_sim_live(live_gui):
|
||||
def test_tools_sim_live(live_gui: Any) -> None:
|
||||
"""Run the Tools & Search simulation against a live GUI."""
|
||||
client = ApiHookClient()
|
||||
assert client.wait_for_server(timeout=10)
|
||||
@@ -43,7 +44,7 @@ def test_tools_sim_live(live_gui):
|
||||
sim.teardown()
|
||||
|
||||
@pytest.mark.integration
|
||||
def test_execution_sim_live(live_gui):
|
||||
def test_execution_sim_live(live_gui: Any) -> None:
|
||||
"""Run the Execution & Modals simulation against a live GUI."""
|
||||
client = ApiHookClient()
|
||||
assert client.wait_for_server(timeout=10)
|
||||
|
||||
Reference in New Issue
Block a user