Mercurial > public > sg101
annotate gpp/settings/test.py @ 517:666147a2cc08
Moved the imports from the top of the file into the task function. This seemed to prevent some strange import errors that only occurred on the production server. I don't know if the problems were related to mod_wsgi or Python 2.5 or what.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 15 Dec 2011 02:49:16 +0000 |
parents | 1a09a7bea000 |
children | 82b97697312e |
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@499 | 7 DATABASES = { |
bgneal@499 | 8 'default': { |
bgneal@499 | 9 'ENGINE': 'django.db.backends.sqlite3', |
bgneal@499 | 10 'NAME': 'dev.db', |
bgneal@499 | 11 }, |
bgneal@499 | 12 } |
bgneal@499 | 13 |
bgneal@499 | 14 # For unit-testing the Donations module w/o using the Paypal sandbox |
bgneal@499 | 15 DONATIONS_DEBUG_VERIFY_RESPONSE = 'VERIFIED' |
bgneal@499 | 16 DONATIONS_BUSINESS_DEBUG = 'brian@surfguitar101.com' |