PLAT-1555 Stop using deprecated TEST_* DB setting keys

This commit is contained in:
Jeremy Bowman
2017-10-18 14:17:09 -04:00
parent 13f3b496a2
commit bda84d526b
2 changed files with 12 additions and 4 deletions

View File

@@ -75,19 +75,23 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': TEST_ROOT / "db" / "test_edx.db",
'TEST_NAME': TEST_ROOT / "db" / "test_edx.db",
'OPTIONS': {
'timeout': 30,
},
'ATOMIC_REQUESTS': True,
'TEST': {
'NAME': TEST_ROOT / "db" / "test_edx.db",
},
},
'student_module_history': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': TEST_ROOT / "db" / "test_student_module_history.db",
'TEST_NAME': TEST_ROOT / "db" / "test_student_module_history.db",
'OPTIONS': {
'timeout': 30,
},
'TEST': {
'NAME': TEST_ROOT / "db" / "test_student_module_history.db",
},
}
}

View File

@@ -67,19 +67,23 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': TEST_ROOT / "db" / "test_edx.db",
'TEST_NAME': TEST_ROOT / "db" / "test_edx.db",
'OPTIONS': {
'timeout': 30,
},
'ATOMIC_REQUESTS': True,
'TEST': {
'NAME': TEST_ROOT / "db" / "test_edx.db",
},
},
'student_module_history': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': TEST_ROOT / "db" / "test_student_module_history.db",
'TEST_NAME': TEST_ROOT / "db" / "test_student_module_history.db",
'OPTIONS': {
'timeout': 30,
},
'TEST': {
'NAME': TEST_ROOT / "db" / "test_student_module_history.db",
},
}
}