Context Presets tab removed from Project Settings panel. The _render_context_presets_panel method call is removed from the tab bar. Context presets functionality will be re-introduced in Discussion Hub -> Context Composition tab.
15 lines
419 B
Python
15 lines
419 B
Python
import pytest
|
|
import inspect
|
|
|
|
|
|
def test_context_presets_tab_removed_from_project_settings():
|
|
import src.gui_2 as gui_2
|
|
|
|
source = inspect.getsource(gui_2.App._gui_func)
|
|
assert "Context Presets" not in source, (
|
|
"Context Presets tab should be removed from Project Settings"
|
|
)
|
|
assert "_render_context_presets_panel" not in source, (
|
|
"Context presets panel call should be removed"
|
|
)
|