telegram_framework.tests.test_python_telegram_bot package
Submodules
telegram_framework.tests.test_python_telegram_bot.test_actions module
- class telegram_framework.tests.test_python_telegram_bot.test_actions.MockBot(*args, **kwargs)[source]
Bases:
object
- class telegram_framework.tests.test_python_telegram_bot.test_actions.MockUpdater[source]
Bases:
object
- class telegram_framework.tests.test_python_telegram_bot.test_actions.TestActions(methodName='runTest')[source]
Bases:
SimpleTestCase
telegram_framework.tests.test_python_telegram_bot.test_adapters module
telegram_framework.tests.test_python_telegram_bot.test_bot module
- class telegram_framework.tests.test_python_telegram_bot.test_bot.TestPTB(methodName='runTest')[source]
Bases:
SimpleTestCase- test__next_step_router_handler()[source]
Test register_next_step_handler: success, raise DispatcherHandlerStop next_steps exists
- test__next_step_router_none()[source]
Test register_next_step_handler: success, return None empty next_steps