view gpp/settings/test.py @ 569:3fe2eced1be7

Now developing on Ubuntu 12.04 with Python 2.7. Use symbolic links for media, so add media/banners to .hgignore. I had a syntax error in banner_tags.py that only Python 2.7 caught. For local development, read database name from SECRETS.
author Brian Neal <bgneal@gmail.com>
date Sun, 29 Apr 2012 16:00:01 -0500
parents 82b97697312e
children
line wrap: on
line source
"""
Settings to use when running tests. Uses sqlite for speed.

"""
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',
        'NAME': 'dev.db',
    },
}

# For unit-testing the Donations module w/o using the Paypal sandbox
DONATIONS_DEBUG_VERIFY_RESPONSE = 'VERIFIED'
DONATIONS_BUSINESS_DEBUG = 'brian@surfguitar101.com'