test.py 628 Bytes
Newer Older
Őry Máté committed
1
from base import *  # noqa
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

########## TEST SETTINGS
TEST_RUNNER = 'discover_runner.DiscoverRunner'
TEST_DISCOVER_TOP_LEVEL = SITE_ROOT
TEST_DISCOVER_ROOT = SITE_ROOT
TEST_DISCOVER_PATTERN = "test_*.py"
########## IN-MEMORY TEST DATABASE
DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.sqlite3",
        "NAME": ":memory:",
        "USER": "",
        "PASSWORD": "",
        "HOST": "",
        "PORT": "",
    },
}
Őry Máté committed
19 20 21 22 23
SOUTH_TESTS_MIGRATE = False


INSTALLED_APPS += (
    'acl.tests',
24
    'django_nose',
Őry Máté committed
25
)
26 27 28 29 30 31

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.dummy.DummyCache'
    }
}