mirror of
https://github.com/aclist/dztui.git
synced 2026-11-22 09:29:31 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
48d58ba5c9
commit
5c81f228b0
3 files changed
+6
-4
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import pytest
|
||||
import vdf
|
||||
import vdf # type: ignore[import-untyped]
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
@@ -7,11 +7,13 @@ from dzgui.api.mods import get_local_mod_ids
|
||||
from dzgui.util.dirs import make_parents
|
||||
from tests.fixtures import fixture_path
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def libraryfolders() -> Path:
|
||||
return fixture_path("api/steamapps/libraryfolders.vdf")
|
||||
|
||||
def test_missing_mod_dir(tmp_path, libraryfolders: Path) -> None:
|
||||
|
||||
def test_missing_mod_dir(tmp_path: Path, libraryfolders: Path) -> None:
|
||||
"""
|
||||
Updates fixture file key with tmp path value serializes to file,
|
||||
then tests for missing mod directory returning an empty list
|
||||
|
||||
Reference in new issue
Block a user