refactor: Convert currency tests to pytest and run in Docker

This commit is contained in:
Petr Baudis 2025-04-23 16:45:06 +02:00
parent 8983ae13bf
commit 0789cb89ea
4 changed files with 104 additions and 76 deletions

View file

@ -46,7 +46,7 @@ if [ "$1" == "test" ]; then
# Run test (as brmuser)
echo "Running python test..."
python3 /app/test--currency-rates.py
python3 -m pytest # Run pytest as a module
else
# Run the specified command
exec "$@"