We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f449856 commit f6e0771Copy full SHA for f6e0771
1 file changed
networkapi/settings_ci.py
@@ -41,7 +41,6 @@
41
from settings import CONFIG_FILES_PATH
42
from settings import CONFIG_FILES_REL_PATH
43
from settings import CONFIG_TEMPLATE_PATH
44
-from settings import DATABASES
45
from settings import DEBUG
46
from settings import DEFAULT_CHARSET
47
from settings import DIVISAODC_MGMT
@@ -290,3 +289,14 @@
290
289
# '--cover-xml',
291
# '--cover-xml-file=coverage.xml'
292
]
+
293
+# Use SQLite in-memory for faster tests
294
+DATABASES = {
295
+ 'default': {
296
+ 'ENGINE': 'django.db.backends.sqlite3',
297
+ 'NAME': ':memory:',
298
+ }
299
+}
300
301
+# Disable South migrations for faster test setup
302
+SOUTH_TESTS_MIGRATE = False
0 commit comments