LOC-24 Add test to ensure {{SYSTEM}} is using E2E encryption
author B Tasker
()
committer B Tasker
()
commit 6bb4b1f7db36dbc3b0840710eea3c71d5d4eb53c
tree 04d256d635cc1880a34b45ab1f2ebdb95af1ea52
parent 0e3dcf4dfe636578e88305d28247ce75bce145dc
LOC-24 Add test to ensure {{SYSTEM}} is using E2E encryption

Test steps

- Check that a message was pushed to the room
- Check it isn't plain text
- Check we can decrypt it with the syskey we got when joining the room
- Check the plaintext is valid JSON
- Check it's a correctly formatted message payload
tests/run_tests.py