daphne/tests/settings.py
Artem Malyshev 672de2b2a3 Separate tests into own directory. (#531)
* Move project tests to its own directory.

* Install mock test dependency for Python2 only.

* Do not install tox inside tox environment.

* Exclude tests from sdist.

* Use recent pip on Travis-CI.
2017-02-16 10:22:23 -08:00

31 lines
559 B
Python

SECRET_KEY = 'cat'
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'channels',
'channels.delay',
'tests',
)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
}
}
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'asgiref.inmemory.ChannelLayer',
'ROUTING': [],
},
'fake_channel': {
'BACKEND': 'tests.test_management.FakeChannelLayer',
'ROUTING': [],
}
}
MIDDLEWARE_CLASSES = []