Commit bda84d52 by Jeremy Bowman

PLAT-1555 Stop using deprecated TEST_* DB setting keys

parent 13f3b496
...@@ -75,19 +75,23 @@ DATABASES = { ...@@ -75,19 +75,23 @@ DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.sqlite3',
'NAME': TEST_ROOT / "db" / "test_edx.db", 'NAME': TEST_ROOT / "db" / "test_edx.db",
'TEST_NAME': TEST_ROOT / "db" / "test_edx.db",
'OPTIONS': { 'OPTIONS': {
'timeout': 30, 'timeout': 30,
}, },
'ATOMIC_REQUESTS': True, 'ATOMIC_REQUESTS': True,
'TEST': {
'NAME': TEST_ROOT / "db" / "test_edx.db",
},
}, },
'student_module_history': { 'student_module_history': {
'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.sqlite3',
'NAME': TEST_ROOT / "db" / "test_student_module_history.db", 'NAME': TEST_ROOT / "db" / "test_student_module_history.db",
'TEST_NAME': TEST_ROOT / "db" / "test_student_module_history.db",
'OPTIONS': { 'OPTIONS': {
'timeout': 30, 'timeout': 30,
}, },
'TEST': {
'NAME': TEST_ROOT / "db" / "test_student_module_history.db",
},
} }
} }
......
...@@ -67,19 +67,23 @@ DATABASES = { ...@@ -67,19 +67,23 @@ DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.sqlite3',
'NAME': TEST_ROOT / "db" / "test_edx.db", 'NAME': TEST_ROOT / "db" / "test_edx.db",
'TEST_NAME': TEST_ROOT / "db" / "test_edx.db",
'OPTIONS': { 'OPTIONS': {
'timeout': 30, 'timeout': 30,
}, },
'ATOMIC_REQUESTS': True, 'ATOMIC_REQUESTS': True,
'TEST': {
'NAME': TEST_ROOT / "db" / "test_edx.db",
},
}, },
'student_module_history': { 'student_module_history': {
'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.sqlite3',
'NAME': TEST_ROOT / "db" / "test_student_module_history.db", 'NAME': TEST_ROOT / "db" / "test_student_module_history.db",
'TEST_NAME': TEST_ROOT / "db" / "test_student_module_history.db",
'OPTIONS': { 'OPTIONS': {
'timeout': 30, 'timeout': 30,
}, },
'TEST': {
'NAME': TEST_ROOT / "db" / "test_student_module_history.db",
},
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment