29 lines
517 B
Markdown
29 lines
517 B
Markdown
|
# 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`](test.bash).
|
||
|
|
||
|
## Upgrade python packages
|
||
|
|
||
|
The following will install the newest version of packages in requirements.txt.
|
||
|
|
||
|
``` bash
|
||
|
cat requirements.txt | sed 's/==.*//g' | xargs pip install -U
|
||
|
```
|
||
|
|
||
|
If updates are available --> update and create new version with:
|
||
|
|
||
|
``` bash
|
||
|
pip-chill > requirements.txt
|
||
|
```
|