settings_test.py 602 B

12345678910111213141516171819202122232425262728
  1. #
  2. # BitBake Toaster Implementation
  3. #
  4. # Copyright (C) 2016 Intel Corporation
  5. #
  6. # SPDX-License-Identifier: GPL-2.0-only
  7. #
  8. # Django settings for Toaster project.
  9. # Settings overlay to use for running tests
  10. # DJANGO_SETTINGS_MODULE=toastermain.settings-test
  11. from toastermain.settings import *
  12. DEBUG = True
  13. TEMPLATE_DEBUG = DEBUG
  14. DATABASES = {
  15. 'default': {
  16. 'ENGINE': 'django.db.backends.sqlite3',
  17. 'NAME': '/tmp/toaster-test-db.sqlite',
  18. 'TEST': {
  19. 'ENGINE': 'django.db.backends.sqlite3',
  20. 'NAME': '/tmp/toaster-test-db.sqlite',
  21. }
  22. }
  23. }