Commit cc27a6b1 by Clinton Blackburn

Running Compressor before Tests

Since the settings now have compressor enabled, the compress management command should be run at least once before tests are run; otherwise, an error will be raised.
parent 7a5d0ee5
...@@ -33,6 +33,7 @@ clean: ...@@ -33,6 +33,7 @@ clean:
coverage erase coverage erase
test_python: clean test_python: clean
python manage.py compress --settings=analytics_dashboard.settings.test
python manage.py test analytics_dashboard --settings=analytics_dashboard.settings.test --with-coverage \ python manage.py test analytics_dashboard --settings=analytics_dashboard.settings.test --with-coverage \
--cover-package=analytics_dashboard --cover-branches --cover-html --cover-html-dir=$(COVERAGE)/html/ \ --cover-package=analytics_dashboard --cover-branches --cover-html --cover-html-dir=$(COVERAGE)/html/ \
--with-ignore-docstrings --cover-xml --cover-xml-file=$(COVERAGE)/coverage.xml --with-ignore-docstrings --cover-xml --cover-xml-file=$(COVERAGE)/coverage.xml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment