Rework test matrix and structure
This commit is contained in:
34
tests/settings.py
Normal file
34
tests/settings.py
Normal file
@@ -0,0 +1,34 @@
|
||||
import os
|
||||
|
||||
DEBUG = True
|
||||
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||
|
||||
SECRET_KEY = 'thisisntactuallysecretatall'
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': ':memory:',
|
||||
}
|
||||
}
|
||||
|
||||
# ROOT_URLCONF = 'tests.urls'
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'jsignature',
|
||||
'tests',
|
||||
]
|
||||
|
||||
PASSWORD_HASHERS = {
|
||||
'django.contrib.auth.hashers.MD5PasswordHasher',
|
||||
}
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'APP_DIRS': True,
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user