Permalink
Browse files

Add new TEMPLATE_DIR to test settings

Fixes broken tests.
  • Loading branch information...
codeinthehole committed Nov 8, 2012
1 parent 7290071 commit 502d4a78282995da74d3a43505142abee3a6e505
Showing with 3 additions and 1 deletion.
  1. +3 −1 runtests.py
View
@@ -17,6 +17,7 @@
extra_settings[key] = value
from oscar import get_core_apps, OSCAR_MAIN_TEMPLATE_DIR
+ from accounts import TEMPLATE_DIR as ACCOUNTS_TEMPLATE_DIR
settings.configure(
DATABASES={
@@ -54,9 +55,10 @@
TEMPLATE_DIRS=(
OSCAR_MAIN_TEMPLATE_DIR,
os.path.join(OSCAR_MAIN_TEMPLATE_DIR, 'templates'),
+ ACCOUNTS_TEMPLATE_DIR,
# Include sandbox templates as they patch from templates that
# are in Oscar 0.4 but not 0.3
- 'sandbox/templates'
+ 'sandbox/templates',
),
SITE_ID=1,
ACCOUNTS_UNIT_NAME='Giftcard',

0 comments on commit 502d4a7

Please sign in to comment.