Tests: test_dicom2pacs.py repariert - venv-Unterstützung und run_tests.sh hinzugefügt

This commit is contained in:
René Mathieu
2026-01-17 15:01:27 +01:00
parent bc67232628
commit b7730d908c
2 changed files with 78 additions and 1 deletions

14
run_tests.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# run_tests.sh - Führt die Python-Tests mit aktiviertem venv aus
cd "$(dirname "$0")"
# Aktiviere venv
if [ -d "venv" ]; then
source venv/bin/activate
python3 test_dicom2pacs.py
else
echo "FEHLER: venv nicht gefunden!"
echo "Bitte erstellen Sie ein venv: python3 -m venv venv"
exit 1
fi