mirror of
				https://github.com/django/daphne.git
				synced 2025-11-04 09:37:32 +03:00 
			
		
		
		
	* Add tests for runserver and runworker management commands * Fix flake8 and isort errors * Refactor mocking, add comments to tests * rm unneeded vargs
		
			
				
	
	
		
			29 lines
		
	
	
		
			533 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			533 B
		
	
	
	
		
			Python
		
	
	
	
	
	
SECRET_KEY = 'cat'
 | 
						|
 | 
						|
INSTALLED_APPS = (
 | 
						|
    'django.contrib.auth',
 | 
						|
    'django.contrib.contenttypes',
 | 
						|
    'django.contrib.sessions',
 | 
						|
    'django.contrib.admin',
 | 
						|
    'channels',
 | 
						|
)
 | 
						|
 | 
						|
DATABASES = {
 | 
						|
    'default': {
 | 
						|
        'ENGINE': 'django.db.backends.sqlite3',
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
CHANNEL_LAYERS = {
 | 
						|
    'default': {
 | 
						|
        'BACKEND': 'asgiref.inmemory.ChannelLayer',
 | 
						|
        'ROUTING': [],
 | 
						|
    },
 | 
						|
    'fake_channel': {
 | 
						|
        'BACKEND': 'channels.tests.test_management.FakeChannelLayer',
 | 
						|
        'ROUTING': [],
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
MIDDLEWARE_CLASSES = []
 |