Commit 48ef168a authored by Georgios D. Tsoukalas's avatar Georgios D. Tsoukalas

Revert "common: do not overwrite test database setting"

This reverts commit b6eb72e5ccef38cfabf13f6fdf2acf53438ab34e.
parent 5af44a39
......@@ -6,15 +6,12 @@ from synnefo.settings import *
DEBUG = False
TEST = True
try:
DATABASES['default']
except (NameError, KeyError):
DATABASES = {
'default': {
'ENGINE': 'sqlite3',
'NAME': '/tmp/synnefo_test_db.sqlite',
}
DATABASES = {
'default': {
'ENGINE': 'sqlite3',
'NAME': '/tmp/synnefo_test_db.sqlite',
}
}
LOGGING_SETUP['handlers']['console']['level'] = \
os.environ.get('SYNNEFO_TESTS_LOGGING_LEVEL', 'WARNING')
......
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