I’m new to the django world. Running some tutorial apps, and when running python manage.py test i’m getting a failure saying that the table already exists. I’m not sure what is going on. I am also running south, and I got no errors when migrating the schema.
Any insight is greatly appreciated.
TIA
Joey
It might be an error in one of your south migrations. You don’t see the problem on the real db because the migration has been executed (with the–fake option maybe)
You can try to recreate the db from scracth and see if it works.
You can also disable South for unit-tests by adding
SOUTH_TESTS_MIGRATE = Falsein your settings.py. With this option a regular syncdb will be done to create the test database. It will also speed the testing process.I hope it helps