lundi 1 juin 2020

How to test django app without giving an app_name

My project structure looks like this: backend/src/apps/app_name/tests/foo.py and when I'm trying to run the tests by entering a command python manage.py test it runs 0 tests. The only correct way to test is python manage.py test src.apps.app_name but I'm to lazy to do it with every app. 😄

Aucun commentaire:

Enregistrer un commentaire