We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Features to test:
Bot.name
Bot.username
Bot.start_message
Bot.help_message
Bot.admin_help_message
Bot.plugin_help_messages
Bot.enabled_plugins
Bot.disabled_plugins
Bot.start(bot, update)
Bot.help(bot, update)
Bot.settings(bot, update)
Bot.enable_plugin(bot, update, args)
Bot.disable_plugin(bot, update, args)
Bot.run()
Fakes/spies to be implemented:
The text was updated successfully, but these errors were encountered:
test_bot.py
ifosch
No branches or pull requests
Features to test:
Bot.name
andBot.username
, probably to be tested through logger mockBot.start_message
: Varying on the amount of plugins, like the constructorBot.help_message
,Bot.admin_help_message
, andBot.plugin_help_messages
Bot.enabled_plugins
andBot.disabled_plugins
Bot.start(bot, update)
Bot.help(bot, update)
: Varying on the amount of plugins and admins, like the constructorBot.settings(bot, update)
Bot.enable_plugin(bot, update, args)
andBot.disable_plugin(bot, update, args)
, for these cases:Bot.run()
: It starts pollingFakes/spies to be implemented:
The text was updated successfully, but these errors were encountered: