LOC-24 Added "Send a message" test
author B Tasker
()
committer B Tasker
()
commit bf92471864dcf9c22ae9a6fe3431586746c915fd
tree 6a7743b977032bacbd35c5de7f3918e24bc0ff7b
parent 4e9cdea7c681f114bbbd7db12c27322a69d8ae3d
LOC-24 Added "Send a message" test

Test does the following

- Poll for messages as admin user to flush the queue
- Send a message as testuser
- Poll again as admin user to (hopefully) fetch the message
- Poll as testuser to flush queue (so it's tidy for any future tests)
- Check admin received a message and that it's well formed
- Check that the reported payload is a match
tests/run_tests.py