Commits

Alexandre Bonnet committed 3080aef

Ajout de la base de donnee de test dans SQLITE3.

Comments (0)

Files changed (1)

registration/tests/settings.py

-from yourapp.settings.common import *
+from registration.settings.common import *
 
 ROOT_URLCONF = 'registration.tests.urls'
 
+DATABASE_ENGINE = 'sqlite3'
+DATABASE_NAME = ':memory:'
+
 INSTALLED_APPS += ('django_nose', )
-TEST_RUNNER = 'django_nose.run_tests'
+TEST_RUNNER = 'django_nose.run_tests'