Few times while browsing tests
dir in various Django apps I stumbled across models.py
and settings.py
files (in django-tagging
for example).
But there's no code to be found that syncs test models or applies custom test settings - but tests make use of them just as if django would auto-magically load them. However if I try to run django-tagging
's tests: manage.py test tagging
, it doesn't do even a single test.
This is exactly what I need right now to test my app, but don't really know how.
So, how does it work?