Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
55dc9cb4
Commit
55dc9cb4
authored
Jun 11, 2013
by
Georgios D. Tsoukalas
Browse files
common: do not overwrite test database setting
parent
a51c9acd
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-common/synnefo/settings/test.py
View file @
55dc9cb4
...
...
@@ -6,12 +6,15 @@ from synnefo.settings import *
DEBUG
=
False
TEST
=
True
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'sqlite3'
,
'NAME'
:
'/tmp/synnefo_test_db.sqlite'
,
try
:
DATABASES
[
'default'
]
except
(
NameError
,
KeyError
):
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'sqlite3'
,
'NAME'
:
'/tmp/synnefo_test_db.sqlite'
,
}
}
}
LOGGING_SETUP
[
'handlers'
][
'console'
][
'level'
]
=
\
os
.
environ
.
get
(
'SYNNEFO_TESTS_LOGGING_LEVEL'
,
'WARNING'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment