Fixed test database name in app setup template.

This commit is contained in:
Chris Church
2013-04-02 14:06:45 -04:00
parent dbab673183
commit 63ef048d73
2 changed files with 2 additions and 5 deletions

View File

@@ -41,6 +41,8 @@ if 'test' in sys.argv:
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'acom.sqlite3'),
# Test database cannot be :memory: for celery/inventory tests to work.
'TEST_NAME': os.path.join(BASE_DIR, 'acom_test.sqlite3'),
}
}