Trying to reset mysql pw before running tests

This commit is contained in:
László Károlyi 2017-01-01 21:22:48 +01:00
parent badc3f8a8f
commit 5a4fcafadd
No known key found for this signature in database
GPG key ID: 372AA22D38BD5B13
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,8 @@ cache:
python:
- 3.5
- 3.6
before_script:
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
# command to install dependencies
install:
- pip install -r backend/requirements.txt

View file

@ -250,7 +250,7 @@ PAGINATOR_MAX_PAGES_TOPICLIST = 10
LOGIN_REDIRECT_URL = '/'
# Keep this at the end
# Keep this at the very bottom of settings.py
try:
from forum.settings_production import * # NOQA
except ImportError as e: