summaryrefslogtreecommitdiff
path: root/parts/django/tests/test_sqlite.py
diff options
context:
space:
mode:
Diffstat (limited to 'parts/django/tests/test_sqlite.py')
-rw-r--r--parts/django/tests/test_sqlite.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/parts/django/tests/test_sqlite.py b/parts/django/tests/test_sqlite.py
new file mode 100644
index 0000000..de8bf93
--- /dev/null
+++ b/parts/django/tests/test_sqlite.py
@@ -0,0 +1,22 @@
+# This is an example test settings file for use with the Django test suite.
+#
+# The 'sqlite3' backend requires only the ENGINE setting (an in-
+# memory database will be used). All other backends will require a
+# NAME and potentially authentication information. See the
+# following section in the docs for more information:
+#
+# http://docs.djangoproject.com/en/dev/internals/contributing/#unit-tests
+#
+# The different databases that Django supports behave differently in certain
+# situations, so it is recommended to run the test suite against as many
+# database backends as possible. You may want to create a separate settings
+# file for each of the backends you test against.
+
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.sqlite3'
+ },
+ 'other': {
+ 'ENGINE': 'django.db.backends.sqlite3',
+ }
+}