gemini quota exhausted: fixing regressions in test suite
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import pytest
|
||||
from unittest.mock import MagicMock, patch
|
||||
from src import gui_2
|
||||
from src.gui_2 import App
|
||||
|
||||
@pytest.mark.parametrize("role", ["User", "AI"])
|
||||
@@ -75,7 +76,7 @@ def test_render_discussion_panel_symbol_lookup(mock_app, role):
|
||||
mock_mcp.read_file.return_value = "class MyClass:\n pass"
|
||||
|
||||
# Execute the panel rendering
|
||||
mock_app._render_discussion_panel()
|
||||
gui_2.render_discussion_panel(mock_app)
|
||||
|
||||
# Assertions
|
||||
# 1. Assert that the regex correctly identifies the pattern and imgui.button('[Source]##0_0') is called
|
||||
|
||||
Reference in New Issue
Block a user