# Testing TODO for Minimal Bot ## Tests That Need Updates The following test files reference removed features and need to be updated or removed: ### To Remove (Features Removed) - `tests/test_verification.py` - Verification system removed - `tests/test_file_config.py` - File-based per-guild config removed - `tests/test_ai.py` - ModerationResult and text moderation removed ### To Update (Features Changed) - `tests/conftest.py` - Remove imports for: - `BannedWord` (removed model) - `ModerationLog`, `Strike`, `UserNote` (removed models) - `GuildDefaults` (if removed from config) ### Tests That Should Still Work - `tests/test_automod.py` - Spam detection (core feature) - `tests/test_ratelimit.py` - Rate limiting (still used) - `tests/test_automod_security.py` - Security tests - `tests/test_utils.py` - Utility functions - `tests/test_nsfw_only_filtering.py` - NSFW filtering (core feature) - `tests/test_config.py` - Config loading - `tests/test_database_integration.py` - May need updates for removed models ## Quick Fix For now, tests can be skipped for removed features. Full test suite cleanup needed later. ## Run Working Tests ```bash pytest tests/test_automod.py tests/test_nsfw_only_filtering.py -v ```