Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix db settings for CI

  • Loading branch information...
commit b4ea005d278c30dba9c0412b097fe35b98aabcd1 1 parent ec0e8f5
Kumar McMillan kumar303 authored
Showing with 18 additions and 7 deletions.
  1. +18 −7 scripts/run_ci_tests.sh
25 scripts/run_ci_tests.sh
View
@@ -22,13 +22,24 @@ pip install -U --exists-action=w --no-deps -q -r requirements/test.txt
cat > webpay/settings/local.py <<SETTINGS
from webpay.settings.base import *
LOG_LEVEL = logging.ERROR
-DATABASES['default']['NAME'] = 'zamboni_mkt'
-DATABASES['default']['HOST'] = 'localhost'
-DATABASES['default']['USER'] = 'hudson'
-DATABASES['default']['ENGINE'] = 'mysql_pool'
-DATABASES['default']['TEST_NAME'] = 'test_zamboni_webpay'
-DATABASES['default']['TEST_CHARSET'] = 'utf8'
-DATABASES['default']['TEST_COLLATION'] = 'utf8_general_ci'
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'mysql_pool',
+ 'NAME': 'zamboni_mkt',
+ 'TEST_NAME': 'test_zamboni_webpay',
+ 'USER': 'hudson',
+ 'PASSWORD': '',
+ 'HOST': '',
+ 'PORT': '',
+ 'OPTIONS': {
+ 'init_command': 'SET storage_engine=InnoDB',
+ 'charset' : 'utf8',
+ 'use_unicode' : True,
+ },
+ 'TEST_CHARSET': 'utf8',
+ 'TEST_COLLATION': 'utf8_general_ci',
+ },
+}
CACHE_BACKEND = 'caching.backends.locmem://'
CELERY_ALWAYS_EAGER = True
STATIC_URL = ''
Please sign in to comment.
Something went wrong with that request. Please try again.