forked from mirror/prosody
d8e5906e55
Adjust config: Replace deprecated legacy_ssl with c2s_direct_tls. Removed use_libevent = true. This means the default is now used which is epoll. Added a test to check that no deprecated config settings are used. |
||
---|---|---|
.. | ||
bats | ||
glauth | ||
docker-compose.yml | ||
readme.md | ||
requirements.txt | ||
test.bash | ||
test_prosody.py | ||
tests-prosody.bats | ||
tests-prosody_ldap.bats | ||
tests-prosody_postgres.bats | ||
tests.bats |
Tests
Pytest is used to login and send messages to other accounts. Bats is used to check the log for debug messages.
Dependencies
- docker
- docker-compose
- python 3
Run tests
Execute test.bash
.
Upgrade python packages
The following will install the newest version of packages in requirements.txt.
cat requirements.txt | sed 's/==.*//g' | xargs pip install -U
If updates are available --> update and create new version with:
pip-chill > requirements.txt