telegram_framework.tests.test_dummy package

Submodules

telegram_framework.tests.test_dummy.test_actions module

class telegram_framework.tests.test_dummy.test_actions.TestActions(methodName='runTest')[source]

Bases: SimpleTestCase

test_send_message()[source]

Test send_message: success

test_send_reply()[source]

Test send_reply: failed: message has no chat

telegram_framework.tests.test_dummy.test_bot module

class telegram_framework.tests.test_dummy.test_bot.TestDummyBot(methodName='runTest')[source]

Bases: SimpleTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_find_handler_command()[source]

Test find_handler: success: command found

test_find_handler_command_none()[source]

Test find_handler: success: no command

test_find_handler_message()[source]

Test find_handler: success: message

test_find_handler_message_none()[source]

Test find_handler: success: no message

test_get_bot()[source]

Test get_bot: success

test_get_commands_list()[source]

Test get_commands_list: success

test_register_call_handler()[source]

Test register_call_handler: success

test_register_command_handler()[source]

Test register_command_handler: success

test_register_message_handler()[source]

Test register_message_handler: success

test_register_message_handler_filter()[source]

Test register_message_handler with filter: success

test_register_text_handler()[source]

Test register_text_handler: success

test_some_handler_call()[source]
test_start()[source]

Module contents