dimanche 22 avril 2018

Django - Print only errors when running all tests

We're using python - Django 1.10. We have more than 1000 tests. When running all the tests we're getting tons of logs to stdout. It mainly hurts on deployments - we're creating a docker instance and run all our tests (with python manage.py test). I would like to somehow print only errors when running all tests. Is there a way to do such thing?

Aucun commentaire:

Enregistrer un commentaire