#!/bin/bash set -e echo "๐Ÿงน Cleaning up test directory..." echo # Remove Python cache files echo "Removing Python cache files..." find /work/kschmidt/web -name "__pycache__" -type d -exec rm -rf {} + 2>/dev/null || true find /work/kschmidt/web -name "*.pyc" -delete 2>/dev/null || true # Remove temporary test files echo "Removing temporary test files..." rm -f /work/kschmidt/web/tests/*.sif rm -f /work/kschmidt/web/tests/test-results.xml rm -f /work/kschmidt/web/*.sif rm -f /work/kschmidt/web/.coverage rm -rf /work/kschmidt/web/coverage_html_report/ rm -f /work/kschmidt/web/coverage.xml # List remaining test files echo echo "๐Ÿ“ Remaining test files:" ls -la /work/kschmidt/web/tests/ echo echo "๐Ÿ“Š Test directory size:" du -sh /work/kschmidt/web/tests/ echo echo "โœ… Test directory cleanup complete!"