Compare commits

..
Author SHA1 Message Date
aclist b83a333cea chore: update test 2026-10-26 19:42:03 +09:00
2 changed files with 5 additions and 5 deletions

No files matched your search

-2
View File
@@ -313,8 +313,6 @@ class FilterPanel(Gtk.Box):
return True
def toggle_check(self, digit: int) -> None:
if not self.button_grid.is_sensitive():
return
checks = self.button_grid.get_checkboxes()
check = checks[digit]
state = check.get_active()
+5 -3
View File
@@ -1,7 +1,7 @@
import configparser
import pytest
from dzgui.const.constants import FLATPAK_APPID, GTK_APP_ID
from dzgui.const.constants import FLATPAK_APPID, GTK_APP_ID, TMP_PATH
from dzgui.config.xdg import get_xdg_paths
from dzgui.util.flatpak import apply_overrides
@@ -38,6 +38,8 @@ def test_session_bus(override, config) -> None:
def test_paths(override, xdg_paths, config) -> None:
expect = xdg_paths
expect: list[str] = []
expect.append(TMP_PATH)
expect.extend([*xdg_paths.values()])
paths = config[PATHS_KEY][PATHS_SUBKEY].split(";")
assert all(str(path) in paths for path in expect.values())
assert all(str(path) in paths for path in expect)