Merge branch 'chore/test-typehints' of github.com:aclist/dzgui into chore/test-typehints

This commit is contained in:
aclist committed 2026-11-12 07:45:36 +09:00
commit 047b9dbbf6
52 files changed
+259 -488

No files matched your search

+2 -3
View File
@@ -1,13 +1,12 @@
import gi
import pytest
import subprocess
from dzgui.const.constants import GIO_SETTINGS_KEY
from dzgui.views.mixins.colorscheme import ColorAwareApp
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gio, GLib # noqa
from gi.repository import Gtk, GLib
class DummyWidget(ColorAwareApp, Gtk.Button): # type: ignore
+2
View File
@@ -30,6 +30,7 @@ def default_steam_path() -> str:
conf = get_config(xdg.config)
return str(conf["default_steam_path"])
# TODO: additional parsing tests
def test_pefile_length(default_steam_path: str) -> None:
try:
@@ -49,6 +50,7 @@ def test_invalid_pefile_path() -> None:
raise e
# TODO: split into separate test file
@pytest.mark.parametrize(
"fixture, exception",
[