I’m using django-selenium to test my Django 1.3 project. The problem is, tests fail at the stage of user authorization, with an error “No such table: auth_user”.
I’m able to create users in the testing code, though.
Is there a way to make Django create the tables for authentification, not only the ones from models.py?
Thanks.
UPD. Log says that auth_user table was created, but the error still appears.
UPD2. The solution to this problem is to specify TEST_NAME in the settings. Go here for the details (it’s written for nose, but works on other tools as well).
The solution to this problem is to specify TEST_NAME in the settings. Go here for the details (it’s written for nose, but works on other tools as well).