tests.test_help_commands module

Tests for help command functionality.

class tests.test_help_commands.TestHelpCommands(methodName='runTest')[source]

Bases: TestCase

Test help command utilities and functionality.

test_command_categories_structure()[source]

Test that command categories have proper structure.

test_create_help_embed_all_categories()[source]

Test creating help embed for all categories.

test_create_help_embed_specific_category()[source]

Test creating help embed for specific categories.

test_create_help_embed_invalid_category()[source]

Test that invalid category falls back to all categories.

test_get_command_info_valid_commands()[source]

Test getting info for valid commands.

test_get_command_info_invalid_command()[source]

Test getting info for invalid commands.

test_get_total_command_count()[source]

Test getting total command count.

test_all_commands_have_unique_names()[source]

Test that all command names are unique across categories.

test_embed_field_limits()[source]

Test that help embeds don’t exceed Discord’s field limits.

test_command_usage_examples_format()[source]

Test that command usage examples are properly formatted.

test_category_coverage()[source]

Test that all major bot functionality is covered in help.