mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Fixed test database name in app setup template.
This commit is contained in:
parent
dbab673183
commit
63ef048d73
@ -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'),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -56,11 +56,6 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
#if 'test' in sys.argv:
|
||||
# DATABASES['default'] = {
|
||||
# 'ENGINE': 'django.db.backends.sqlite3'
|
||||
# }
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/dev/topics/i18n/
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user