python-mattermost-driver
python-mattermost-driver copied to clipboard
Docker environment to run tests
I really want to have tests in this project.
What I am thinking of is something simple for the start.
- Mattermost docker instance
- A test file that tests the basic things
- Does it even start
- Does the login work
- Does the websocket work
- Can I make successful
post/put/get/deleterequest
This probably shouldn't test every api endpoint...
Hi! I see this is a very old issue, but we've implemented pretty much exactly this (on a higher level, since we reply on mattermost-driver to do all the work for us) in the mmpy_bot integration tests . Perhaps you'll find that code useful as well.