From e933a4446a58f29b2a729ac070010ed21b3e202b Mon Sep 17 00:00:00 2001 From: wyzula-jan Date: Tue, 17 Feb 2026 14:12:06 +0100 Subject: [PATCH] refactor(main_app): simpler id and object name management --- tests/unit_tests/test_main_app.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/unit_tests/test_main_app.py b/tests/unit_tests/test_main_app.py index ec26507e..4e92ee89 100644 --- a/tests/unit_tests/test_main_app.py +++ b/tests/unit_tests/test_main_app.py @@ -130,6 +130,12 @@ def test_view_switch_method_switches_to_target(app_with_spies, qtbot): assert app.stack.currentIndex() == app._view_index["v1"] +def test_view_content_widget_is_hidden_from_namespace(app_with_spies): + app, _, _, _ = app_with_spies + assert app.dock_area.content is app.dock_area.dock_area + assert app.dock_area.content.skip_rpc_namespace is True + + def test_guided_tour_is_initialized(app_with_spies): """Test that the guided tour is initialized in the main app.""" app, _, _, _ = app_with_spies