VLN-API integriert

This commit is contained in:
2026-06-19 11:47:15 +02:00
parent 18573cb3be
commit 16d6474bb9
8 changed files with 3259 additions and 9 deletions
+14
View File
@@ -5,6 +5,7 @@ Zentraler Test-Runner für sn_plan41.
Wrapper-konform, QGIS-unabhängig, CI- und IDE-fähig.
"""
import io
import unittest
import datetime
import inspect
@@ -12,6 +13,19 @@ import os
import sys
from pathlib import Path
# Stdout auf UTF-8 umstellen, damit Emoji-Print-Statements in
# qt_wrapper.py (Mock-Modus) auf Windows-Konsolen (CP1252) nicht zu
# UnicodeEncodeError führen.
if hasattr(sys.stdout, "reconfigure"):
try:
sys.stdout.reconfigure(encoding="utf-8", errors="replace")
except Exception:
pass
elif hasattr(sys.stdout, "buffer"):
sys.stdout = io.TextIOWrapper(
sys.stdout.buffer, encoding="utf-8", errors="replace"
)
# ---------------------------------------------------------
# Plugin-Roots bestimmen