Mercurial > public > sg101
annotate 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 |
rev | line source |
---|---|
bgneal@499 | 1 """ |
bgneal@499 | 2 Settings to use when running tests. Uses sqlite for speed. |
bgneal@499 | 3 |
bgneal@499 | 4 """ |
bgneal@499 | 5 from settings.base import * |
bgneal@499 | 6 |
bgneal@522 | 7 # Use a different database in Redis for tests |
bgneal@522 | 8 REDIS_DB = 14 |
bgneal@522 | 9 QUEUE_REDIS_DB = 14 |
bgneal@522 | 10 BROKER_URL = 'redis://localhost:6379/15' |
bgneal@522 | 11 CELERY_REDIS_DB = 15 |
bgneal@522 | 12 |
bgneal@499 | 13 DATABASES = { |
bgneal@499 | 14 'default': { |
bgneal@499 | 15 'ENGINE': 'django.db.backends.sqlite3', |
bgneal@499 | 16 'NAME': 'dev.db', |
bgneal@499 | 17 }, |
bgneal@499 | 18 } |
bgneal@499 | 19 |
bgneal@499 | 20 # For unit-testing the Donations module w/o using the Paypal sandbox |
bgneal@499 | 21 DONATIONS_DEBUG_VERIFY_RESPONSE = 'VERIFIED' |
bgneal@499 | 22 DONATIONS_BUSINESS_DEBUG = 'brian@surfguitar101.com' |