mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-05-06 22:14:10 +00:00
wip tests 7
This commit is contained in:
parent
d064d7b3de
commit
616052d9cc
6 changed files with 23 additions and 4 deletions
|
@ -35,12 +35,11 @@ sudo docker-compose down \
|
|||
&& pytest \
|
||||
&& deactivate \
|
||||
&& sleep 1 \
|
||||
&& sudo docker-compose logs | grep "message to" \
|
||||
&& sudo docker-compose logs | grep "type='error'"
|
||||
&& ./bats/bats-core/bin/bats tests.bats
|
||||
|
||||
#&& sudo docker-compose logs | grep "message to" \
|
||||
#&& sudo docker-compose logs | grep "type='error'"
|
||||
# Received[c2s]: <message to='*@localhost' * type='chat'>
|
||||
# Should be five times in log
|
||||
|
||||
# TODO Call bats and create tests to check log output
|
||||
|
||||
sudo docker-compose down
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue