diff options
-rw-r--r-- | bitbake/lib/toaster/toastermain/settings-test.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings-test.py b/bitbake/lib/toaster/toastermain/settings-test.py new file mode 100644 index 0000000000..36b14c06db --- /dev/null +++ b/bitbake/lib/toaster/toastermain/settings-test.py | |||
@@ -0,0 +1,41 @@ | |||
1 | # | ||
2 | # ex:ts=4:sw=4:sts=4:et | ||
3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
4 | # | ||
5 | # BitBake Toaster Implementation | ||
6 | # | ||
7 | # Copyright (C) 2016 Intel Corporation | ||
8 | # | ||
9 | # This program is free software; you can redistribute it and/or modify | ||
10 | # it under the terms of the GNU General Public License version 2 as | ||
11 | # published by the Free Software Foundation. | ||
12 | # | ||
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License along | ||
19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
21 | |||
22 | # Django settings for Toaster project. | ||
23 | |||
24 | # Settings overlay to use for running tests | ||
25 | # DJANGO_SETTINGS_MODULE=toastermain.settings-test | ||
26 | |||
27 | from settings import * | ||
28 | |||
29 | DEBUG = True | ||
30 | TEMPLATE_DEBUG = DEBUG | ||
31 | |||
32 | DATABASES = { | ||
33 | 'default': { | ||
34 | 'ENGINE': 'django.db.backends.sqlite3', | ||
35 | 'NAME': '/tmp/toaster-test-db.sqlite', | ||
36 | 'TEST': { | ||
37 | 'ENGINE': 'django.db.backends.sqlite3', | ||
38 | 'NAME': '/tmp/toaster-test-db.sqlite', | ||
39 | } | ||
40 | } | ||
41 | } | ||