mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 01:58:09 -03:30
make test database use sqlite
This commit is contained in:
@@ -29,10 +29,10 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
if 'test' in sys.argv:
|
||||
DATABASES['default'] = {
|
||||
'ENGINE': 'django.db.backends.sqlite3'
|
||||
}
|
||||
#if 'test' in sys.argv:
|
||||
# DATABASES['default'] = {
|
||||
# 'ENGINE': 'django.db.backends.sqlite3'
|
||||
# }
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/dev/topics/i18n/
|
||||
|
||||
Reference in New Issue
Block a user