diff --git a/contrib_bots/bots/converter/tests.py b/contrib_bots/bots/converter/tests.py index 6c2c9ea..539d3d8 100644 --- a/contrib_bots/bots/converter/tests.py +++ b/contrib_bots/bots/converter/tests.py @@ -4,9 +4,11 @@ def test(): for cmd, expected_response in sample_conversation(): message = {'content': cmd, 'subject': 'foo', 'display_recipient': 'bar'} + class ClientDummy(object): def __init__(self): self.output = '' + def send_message(self, params): self.output = params['content'] handler = converter.ConverterHandler() diff --git a/zulip/__init__.py b/zulip/__init__.py index 4f67415..93650fe 100644 --- a/zulip/__init__.py +++ b/zulip/__init__.py @@ -423,6 +423,7 @@ class Client(object): # type: (Callable, Optional[List[str]], Any) -> None if narrow is None: narrow = [] + def do_register(): # type: () -> Tuple[str, int] while True: