test: Fix test_project_settings_rename source inspection
Updated the test to inspect _render_main_interface instead of _gui_func as window rendering was refactored.
This commit is contained in:
@@ -5,7 +5,7 @@ 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)
|
||||
source = inspect.getsource(gui_2.App._render_main_interface)
|
||||
assert "Project Settings" in source, (
|
||||
"Context Hub should be renamed to Project Settings"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user