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
+20 -30
View File
@@ -1,42 +1,32 @@
import pytest
import inspect
def test_session_hub_window_removed():
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.App._render_main_interface)
assert "Session Hub" not in source, "Session Hub window should be removed"
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.render_main_interface)
assert "Session Hub" not in source, "Session Hub window should be removed"
def test_discussion_hub_has_snapshot_tab():
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.App._render_discussion_hub)
assert "Snapshot" in source, "Discussion Hub should have Snapshot tab"
assert "_render_snapshot_tab" in source, "Discussion Hub should call _render_snapshot_tab"
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.render_discussion_hub)
assert "Snapshot" in source, "Discussion Hub should have Snapshot tab"
assert "render_snapshot_tab" in source, "Discussion Hub should call render_snapshot_tab"
def test_discussion_hub_has_context_composition_placeholder():
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.App._render_discussion_hub)
assert "Context Composition" in source, (
"Discussion Hub should have Context Composition tab placeholder"
)
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.render_discussion_hub)
assert "Context Composition" in source, (
"Discussion Hub should have Context Composition tab placeholder"
)
def test_discussion_hub_has_takes_tab():
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.App._render_discussion_hub)
assert "Takes" in source, "Discussion Hub should have Takes tab"
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.render_discussion_hub)
assert "Takes" in source, "Discussion Hub should have Takes tab"
def test_show_windows_no_session_hub():
import src.app_controller as app_controller
source = inspect.getsource(app_controller.AppController)
assert "Session Hub" not in source, (
"Session Hub should be removed from show_windows"
)
import src.app_controller as app_controller
source = inspect.getsource(app_controller.AppController)
assert "Session Hub" not in source, (
"Session Hub should be removed from show_windows"
)