Stark-Mountain / meetup-facebook-bot

An easy-to-setup bot that helps you to communicate with your meetup attendees.
MIT License
1 stars 1 forks source link

Turn webhook_route tests into unit tests #71

Closed vergeev closed 7 years ago

vergeev commented 7 years ago

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.