This commit is contained in:
2026-03-07 21:40:40 -05:00
parent 2f53f685a6
commit 6621362c37
4 changed files with 10 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import time import time
import random import random
from typing import Any, Callable from typing import Any, Callable
import ai_client from src import ai_client
class UserSimAgent: class UserSimAgent:
def __init__(self, hook_client: Any, model: str = "gemini-2.5-flash-lite", enable_delays: bool = True) -> None: def __init__(self, hook_client: Any, model: str = "gemini-2.5-flash-lite", enable_delays: bool = True) -> None:

View File

@@ -13,6 +13,7 @@ def test_user_agent_instantiation() -> None:
def test_perform_action_with_delay() -> None: def test_perform_action_with_delay() -> None:
agent = UserSimAgent(hook_client=None) agent = UserSimAgent(hook_client=None)
agent.enable_delays = False
called = False called = False
def action(): def action():

View File

@@ -1,6 +1,9 @@
import time import time
import pytest
from src import api_hook_client from src import api_hook_client
@pytest.mark.integration
@pytest.mark.live
def test_visual_mma_components(live_gui): def test_visual_mma_components(live_gui):
""" """
Refactored visual MMA verification using the live_gui fixture. Refactored visual MMA verification using the live_gui fixture.
@@ -22,11 +25,11 @@ def test_visual_mma_components(live_gui):
"description": "A track to verify MMA UI components" "description": "A track to verify MMA UI components"
} }
tickets_data = [ tickets_data = [
{"id": "TICKET-001", "target_file": "core.py", "status": "todo"}, {"id": "TICKET-001", "target_file": "core.py", "status": "todo", "description": "1", "assigned_to": "Worker"},
{"id": "TICKET-002", "target_file": "utils.py", "status": "running"}, {"id": "TICKET-002", "target_file": "utils.py", "status": "running", "description": "2", "assigned_to": "Worker"},
{"id": "TICKET-003", "target_file": "tests.py", "status": "complete"}, {"id": "TICKET-003", "target_file": "tests.py", "status": "complete", "description": "3", "assigned_to": "Worker"},
{"id": "TICKET-004", "target_file": "api.py", "status": "blocked"}, {"id": "TICKET-004", "target_file": "api.py", "status": "blocked", "description": "4", "assigned_to": "Worker"},
{"id": "TICKET-005", "target_file": "gui.py", "status": "paused"}, {"id": "TICKET-005", "target_file": "gui.py", "status": "paused", "description": "5", "assigned_to": "Worker"},
] ]
print("\nPushing MMA state update...") print("\nPushing MMA state update...")