tests.test_bot module
Unit tests for WeakAuras Discord Bot core functionality.
This module tests the main bot class, configuration loading, and core bot operations.
- class tests.test_bot.TestWeakAurasBot(methodName='runTest')[source]
Bases:
TestCase
Test cases for the WeakAurasBot class.
- test_bot_initialization_default_storage()[source]
Test bot initialization with default storage directory.
- test_has_admin_access_without_role()[source]
Test admin access checking when user doesn’t have admin role.
Test creating embed with custom footer.
- test_save_server_macros_creates_directory()[source]
Test that save_server_macros creates the directory if it doesn’t exist.