Mercurial > public > sg101
annotate gpp/test_settings.py @ 340:2541d27ca056
Fix #153. Update verbiage on the donations thanks template to meet Paypal guidelines for making it a auto-return page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 27 Feb 2011 00:28:20 +0000 |
parents | 767cedc7d12a |
children |
rev | line source |
---|---|
bgneal@214 | 1 """ |
bgneal@214 | 2 Settings to use when running tests. Uses sqlite for speed. |
bgneal@214 | 3 This idea was taken from |
bgneal@214 | 4 http://blog.davidziegler.net/post/370368042/test-database-settings-in-django |
bgneal@214 | 5 """ |
bgneal@214 | 6 from settings import * |
bgneal@214 | 7 |
bgneal@214 | 8 DATABASES = { |
bgneal@214 | 9 'default': { |
bgneal@214 | 10 'ENGINE': 'django.db.backends.sqlite3', |
bgneal@214 | 11 'NAME': 'dev.db', |
bgneal@214 | 12 }, |
bgneal@214 | 13 } |
bgneal@316 | 14 |
bgneal@316 | 15 # For unit-testing the Donations module w/o using the Paypal sandbox |
bgneal@316 | 16 DONATIONS_DEBUG_VERIFY_RESPONSE = 'VERIFIED' |
bgneal@316 | 17 DONATIONS_BUSINESS_DEBUG = 'brian@surfguitar101.com' |