Describe the bug
There is no way to test the bot flow because the object messenger is passed as an argument in
def send_start_messages(messenger):
....
def process_message(messenger, message):
....
def process_postback(messenger, payload):
...
These functions should always return a list containing the sequence of requests and actions to perform. We will be able to test the validity of the list in unit test.
Describe the bug
There is no way to test the bot flow because the object
messengeris passed as an argument inThese functions should always return a list containing the sequence of requests and actions to perform. We will be able to test the validity of the list in unit test.