diff --git a/zulip_botserver/tests/server_test_lib.py b/zulip_botserver/tests/server_test_lib.py index 32dd71f..ec4da16 100644 --- a/zulip_botserver/tests/server_test_lib.py +++ b/zulip_botserver/tests/server_test_lib.py @@ -11,14 +11,15 @@ class BotServerTestCase(TestCase): server.app.testing = True self.app = server.app.test_client() - def assert_bot_server_response(self, - available_bots: Optional[List[str]]=None, - bots_config: Optional[Dict[str, Dict[str, str]]]=None, - bot_handlers: Optional[Dict[str, Any]]=None, - payload_url: str="/bots/helloworld", - message: Optional[Dict[str, Any]]=dict(message={'key': "test message"}), - check_success: bool=False, - ) -> None: + def assert_bot_server_response( + self, + available_bots: Optional[List[str]]=None, + bots_config: Optional[Dict[str, Dict[str, str]]]=None, + bot_handlers: Optional[Dict[str, Any]]=None, + payload_url: str="/bots/helloworld", + message: Optional[Dict[str, Any]]=dict(message={'key': "test message"}), + check_success: bool=False, + ) -> None: if available_bots is not None and bots_config is not None: server.available_bots = available_bots bots_lib_modules = server.load_lib_modules()