Tests: test_dicom2pacs.py repariert - venv-Unterstützung und run_tests.sh hinzugefügt
This commit is contained in:
14
run_tests.sh
Executable file
14
run_tests.sh
Executable 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
|
||||
Reference in New Issue
Block a user