feat(gui): Rename Context Hub to Project Settings

- gui_2.py: Window title changed to 'Project Settings'
- app_controller.py: show_windows key updated
- Updated tests to reference new name
This commit is contained in:
2026-03-22 12:57:49 -04:00
parent f5d4913da2
commit 2ed9867e39
6 changed files with 31 additions and 8 deletions

View File

@@ -0,0 +1,22 @@
import pytest
import inspect
def test_context_hub_renamed_to_project_settings():
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.App._gui_func)
assert "Project Settings" in source, (
"Context Hub should be renamed to Project Settings"
)
assert '"Context Hub"' not in source, '"Context Hub" string should be removed'
def test_show_windows_key_updated():
import src.app_controller as app_controller
source = inspect.getsource(app_controller.AppController)
assert '"Project Settings"' in source or "'Project Settings'" in source, (
"show_windows key should be Project Settings"
)
assert '"Context Hub"' not in source, '"Context Hub" key should be removed'