Private
Public Access
0
0

gemini quota exhausted: fixing regressions in test suite

This commit is contained in:
2026-05-16 14:45:06 -04:00
parent 49082e5036
commit bf5b426c24
17 changed files with 223 additions and 152 deletions
+7 -8
View File
@@ -1,16 +1,15 @@
import pytest
import inspect
from src import gui_2
def test_takes_tab_replaces_placeholder():
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.App._gui_func)
assert "_render_takes_placeholder" not in source, "Placeholder should be replaced"
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.App._gui_func)
assert "_render_takes_placeholder" not in source, "Placeholder should be replaced"
def test_takes_panel_has_synthesis():
import src.gui_2 as gui_2
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.App._render_takes_panel)
assert "synthesis" in source.lower(), "Should have synthesis functionality"
source = inspect.getsource(gui_2.render_takes_panel)
assert "synthesis" in source.lower(), "Should have synthesis functionality"