I'm trying to use Django's unit test feature. I've added a blank test.py
under app/post/tests
(along with __init__.py
). However when I run python manage.py test post
it returns ImportError: No module named 'app.post'
. Any idea why it says this and how I can fix it?
Aucun commentaire:
Enregistrer un commentaire