black: Reformat skipping string normalization.
This commit is contained in:
parent
5580c68ae5
commit
fba21bb00d
178 changed files with 6562 additions and 4469 deletions
|
@ -9,7 +9,6 @@ from zulip_botserver import server
|
|||
|
||||
|
||||
class BotServerTestCase(TestCase):
|
||||
|
||||
def setUp(self) -> None:
|
||||
server.app.testing = True
|
||||
self.app = server.app.test_client()
|
||||
|
@ -31,8 +30,12 @@ class BotServerTestCase(TestCase):
|
|||
bots_lib_modules = server.load_lib_modules(available_bots)
|
||||
server.app.config["BOTS_LIB_MODULES"] = bots_lib_modules
|
||||
if bot_handlers is None:
|
||||
bot_handlers = server.load_bot_handlers(available_bots, bots_config, third_party_bot_conf)
|
||||
message_handlers = server.init_message_handlers(available_bots, bots_lib_modules, bot_handlers)
|
||||
bot_handlers = server.load_bot_handlers(
|
||||
available_bots, bots_config, third_party_bot_conf
|
||||
)
|
||||
message_handlers = server.init_message_handlers(
|
||||
available_bots, bots_lib_modules, bot_handlers
|
||||
)
|
||||
server.app.config["BOT_HANDLERS"] = bot_handlers
|
||||
server.app.config["MESSAGE_HANDLERS"] = message_handlers
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue