|
|
@@ -287,10 +287,8 @@ if os.getenv('DESKTOP_DB_CONFIG'):
|
|
|
["ENGINE", "NAME", "TEST_NAME", "USER", "PASSWORD", "HOST", "PORT"],
|
|
|
conn_string.split(':')))
|
|
|
else:
|
|
|
- test_name = os.environ.get('DESKTOP_DB_TEST_NAME')
|
|
|
+ test_name = os.environ.get('DESKTOP_DB_TEST_NAME', get_desktop_root('desktop-test.db'))
|
|
|
logging.debug("DESKTOP_DB_TEST_NAME SET: %s" % test_name)
|
|
|
- if test_name is None:
|
|
|
- test_name = get_desktop_root('desktop-test.db')
|
|
|
|
|
|
default_db = {
|
|
|
"ENGINE" : desktop.conf.DATABASE.ENGINE.get(),
|