1👍
✅
I fixed this by disabling my logging inside settings for test mode.
docker-compose -f local.yml run --rm django python manage.py test --settings=config.settings.test
and inside my config/settings/test.py
;
LOGGING = {}
Related issue: How can I disable logging while running unit tests in Python Django?
Source:stackexchange.com