mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Update settings template to use SQLite test database when running acom_inventory script in tests, initial stub for callback event logger.
This commit is contained in:
@@ -36,7 +36,7 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
if 'test' in sys.argv:
|
||||
if 'test' in sys.argv or 'ACOM_TEST_DATABASE_NAME' in os.environ:
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
|
||||
Reference in New Issue
Block a user