bot testing: Amend StubBotHandler.get_config_info to return {}.
This ensures the return type matches the annotated type, which matches the return type of ExternalBotHandler.
This commit is contained in:
parent
9853d85fb7
commit
1fd4dfc86e
|
@ -54,7 +54,7 @@ class StubBotHandler:
|
||||||
|
|
||||||
def get_config_info(self, bot_name, optional=False):
|
def get_config_info(self, bot_name, optional=False):
|
||||||
# type: (str, bool) -> Dict[str, Any]
|
# type: (str, bool) -> Dict[str, Any]
|
||||||
return None
|
return {}
|
||||||
|
|
||||||
def unique_reply(self):
|
def unique_reply(self):
|
||||||
# type: () -> Dict[str, Any]
|
# type: () -> Dict[str, Any]
|
||||||
|
|
Loading…
Reference in a new issue