Define TEST_CONFIG for testproject redis layer. (#674)

This commit is contained in:
Artem Malyshev 2017-06-19 00:32:45 +03:00 committed by Andrew Godwin
parent 94b3f3563b
commit 54fa7be874

View File

@ -11,6 +11,9 @@ CHANNEL_LAYERS = {
"ROUTING": "testproject.urls.channel_routing",
"CONFIG": {
"hosts": [os.environ.get('REDIS_URL', 'redis://127.0.0.1:6379')],
}
},
"TEST_CONFIG": {
"hosts": [os.environ.get('REDIS_URL', 'redis://127.0.0.1:6379')],
},
},
}