Added dark lang database fixture to bok choy tests

This commit is contained in:
Will Daly
2014-02-06 10:07:21 -05:00
committed by thedeadparrot
parent cb6b52f890
commit a5207708f8
2 changed files with 4 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
############################################################################
DB_CACHE_DIR="common/test/db_cache"
DB_FIXTURE_DIR="common/test/db_fixtures"
# Clear out the test database
./manage.py lms --settings bok_choy reset_db --traceback --noinput
@@ -52,3 +53,5 @@ else
mysqldump -u root --no-data --skip-comments --skip-dump-date test > $DB_CACHE_DIR/bok_choy_schema.sql
fi
# Load database fixtures
./manage.py lms --settings bok_choy loaddata $DB_FIXTURE_DIR/*.json