From 131c5df86b3a40010bfb7a90b039f520d7843dff Mon Sep 17 00:00:00 2001 From: Xarvex Date: Sat, 30 Aug 2025 12:16:22 -0500 Subject: [PATCH] fix(nix/package): ignore mutating test files, add new problematic tests --- nix/package/default.nix | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/nix/package/default.nix b/nix/package/default.nix index ba697e22..01b18b4c 100644 --- a/nix/package/default.nix +++ b/nix/package/default.nix @@ -110,34 +110,24 @@ python3Packages.buildPythonApplication { ] ++ lib.optional withJXLSupport pillow-jxl-plugin; + # These tests require modifications to a library, which does not work + # in a read-only environment. disabledTests = [ - # These tests require modifications to a library, which does not work - # in a read-only environment. - "test_build_tag_panel_add_alias_callback" - "test_build_tag_panel_add_aliases" - "test_build_tag_panel_add_sub_tag_callback" - "test_build_tag_panel_build_tag" - "test_build_tag_panel_remove_alias_callback" - "test_build_tag_panel_remove_subtag_callback" - "test_build_tag_panel_set_aliases" - "test_build_tag_panel_set_parent_tags" - "test_build_tag_panel_set_tag" + "test_badge_visual_state" + "test_browsing_state_update" + "test_flow_layout_happy_path" "test_json_migration" "test_library_migrations" - - "test_add_same_tag_to_selection_single" - "test_add_tag_to_selection_multiple" - "test_add_tag_to_selection_single" - "test_custom_tag_category" - "test_file_path_display" - "test_meta_tag_category" - "test_update_selection_empty" - "test_update_selection_empty" - "test_update_selection_multiple" - "test_update_selection_single" - - # This test requires modification of a configuration file. - "test_filepath_setting" + "test_update_tags" + ]; + disabledTestPaths = [ + "tests/qt/test_build_tag_panel.py" + "tests/qt/test_field_containers.py" + "tests/qt/test_file_path_options.py" + "tests/qt/test_preview_panel.py" + "tests/qt/test_tag_panel.py" + "tests/qt/test_tag_search_panel.py" + "tests/test_library.py" ]; meta = {