diff gpp/settings/test.py @ 522:82b97697312e

Created Celery tasks to process new posts and topics. Keep the updated topic set in Redis. This is for tickets #194, #237, #239.
author Brian Neal <bgneal@gmail.com>
date Sun, 18 Dec 2011 23:46:52 +0000
parents 1a09a7bea000
children
line wrap: on
line diff
--- a/gpp/settings/test.py	Sat Dec 17 23:43:00 2011 +0000
+++ b/gpp/settings/test.py	Sun Dec 18 23:46:52 2011 +0000
@@ -4,6 +4,12 @@
 """
 from settings.base import *
 
+# Use a different database in Redis for tests
+REDIS_DB = 14
+QUEUE_REDIS_DB = 14
+BROKER_URL = 'redis://localhost:6379/15'
+CELERY_REDIS_DB = 15
+
 DATABASES = {
     'default': {
         'ENGINE': 'django.db.backends.sqlite3',