Right now, the tests in webhook_route_test happen to test not only the call to the handlers, but also the handlers themselves.
In webhook_route_test we only need to test if the right handler was called and other were not. The tests for handlers should be placed in the tests/messenger/message_handlers_test.py file.
Right now, the tests in
webhook_route_test
happen to test not only the call to the handlers, but also the handlers themselves.In
webhook_route_test
we only need to test if the right handler was called and other were not. The tests for handlers should be placed in thetests/messenger/message_handlers_test.py
file.