headless-safe filedialog tests with optional live dialog tests and ruff fixes
Tests / test_and_lint (push) Failing after 7s

This commit is contained in:
2026-10-01 20:36:59 +02:00
parent 605f423ff0
commit d20c0a4076
8 changed files with 131 additions and 23 deletions
+2 -1
View File
@@ -1,4 +1,3 @@
from pathlib import Path
from utils.misc import read, readlines
@@ -12,6 +11,7 @@ with a second line
and a third line
"""
def test_readlines_str():
result = readlines(TEST_FILE_PATH)
assert result
@@ -19,6 +19,7 @@ def test_readlines_str():
assert all(isinstance(element, str) for element in result)
assert result[1].strip() == "with a second line"
def test_path_str():
result = read(TEST_FILE_PATH)
assert result