mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 13:31:08 -05:00
25 lines
601 B
Bash
Executable File
25 lines
601 B
Bash
Executable File
#!/bin/bash
|
|
set -e # Exit on error
|
|
|
|
echo "Cleaning up test data..."
|
|
|
|
# Run Django cleanup command
|
|
uv run manage.py cleanup_test_data
|
|
|
|
# Clean up test fixtures
|
|
echo "Cleaning up test fixtures..."
|
|
rm -f tests/fixtures/test_photo.jpg
|
|
rm -f tests/fixtures/test_avatar.jpg
|
|
|
|
# Clean up Playwright artifacts
|
|
echo "Cleaning up Playwright artifacts..."
|
|
rm -rf test-results/
|
|
rm -rf playwright-report/
|
|
|
|
# Clean up pytest cache
|
|
echo "Cleaning up pytest cache..."
|
|
rm -rf .pytest_cache/
|
|
rm -rf tests/e2e/__pycache__/
|
|
find . -type d -name "__pycache__" -exec rm -r {} + 2>/dev/null || true
|
|
|
|
echo "Cleanup complete!" |