pinterest / slackminion

A python bot framework for slack
MIT License
22 stars 14 forks source link

Fix tests for async #64

Closed jogo closed 2 years ago

jogo commented 2 years ago

By default an async test will silently not run under pytest, 'pytest-asyncio' has a mode to fix that but it isn't working, so remove it and manually make sure our async_test decorator is present and fix the tests.

This helped uncover an issue with an missing await in _get_channel_from_msg_or_args