_abs_path() was a one-liner that only delegated to normalize_description_path().
Removed the wrapper and replaced all call sites with direct calls to
normalize_description_path(). Removed the now-redundant TestAbsPath test class
(covered by TestNormalizeDescriptionPath in test_file_utils.py).
https://claude.ai/code/session_01JBWyFr5shvPXUPmZkX3Nhg
Both functions are file I/O operations and belong in file_utils.py alongside
the other file utilities. load_description_node.py now imports them from there.
Added tests for both functions in test_file_utils.py.
https://claude.ai/code/session_01JBWyFr5shvPXUPmZkX3Nhg
- Neue statische Methode _resolve_file_path() in LoadDescriptionNode:
gibt file_path zurück oder fällt auf ersten verfügbaren Eintrag zurück
- IS_CHANGED() und load_description() delegieren an _resolve_file_path()
statt die Fallback-Logik zu duplizieren
- 4 neue Tests für alle Fallback-Szenarien (leer, None, "undefined", gesetzt)
Closes#5
- Zweite (schwächere) Definition von _abs_path() und IS_CHANGED() entfernt;
die erste, korrekte Version (mit .txt-Handling und Backslash-Normalisierung) bleibt
- __init__.py mit try/except für relative Imports gesichert (pytest-Kompatibilität)
- pytest-Setup eingerichtet: pytest.ini, conftest.py, tests/test_load_description_node.py
- .gitignore um __pycache__ und .pytest_cache erweitert
Closes#3