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"
    )
