Ticket #75 (closed defect: fixed)
migrations seem not to be executed before tests
|Reported by:||szczepiq@…||Owned by:||andrew|
See attached simple application.
Steps to reproduce:
- manage.py migrate
- manage.py test
Expected tests to pass because one of the migrations inserts single 'Topic' object. This topic object is visible if I do 'manage.py shell' but it is not in db when I do 'manage.py test'.
It seems tests trigger ordinary 'syncdb' instead of 'migrate'. Or am I not understanding how it should work?