Skip to content
Snippets Groups Projects
Commit a5207708 authored by Will Daly's avatar Will Daly Committed by thedeadparrot
Browse files

Added dark lang database fixture to bok choy tests

parent cb6b52f8
No related merge requests found
[{"pk": 1, "model": "dark_lang.darklangconfig", "fields": {"change_date": "2014-01-30T20:34:20Z", "changed_by": null, "enabled": true, "released_languages": "en,eo"}}]
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment