Commit 5e6dedcd by Clinton Blackburn

Test Cleanup

Extracted mixins to make tests a bit more extensible. Removed some duplicated code.
parent 0674b790
...@@ -20,7 +20,7 @@ clean: ...@@ -20,7 +20,7 @@ clean:
coverage erase coverage erase
test: clean test: clean
. ./.test_env && ./manage.py test --settings=analyticsdataserver.settings.test \ . ./.test_env && ./manage.py test --settings=analyticsdataserver.settings.test --with-ignore-docstrings \
--exclude-dir=analyticsdataserver/settings --with-coverage --cover-inclusive --cover-branches \ --exclude-dir=analyticsdataserver/settings --with-coverage --cover-inclusive --cover-branches \
--cover-html --cover-html-dir=$(COVERAGE)/html/ \ --cover-html --cover-html-dir=$(COVERAGE)/html/ \
--cover-xml --cover-xml-file=$(COVERAGE)/coverage.xml \ --cover-xml --cover-xml-file=$(COVERAGE)/coverage.xml \
......
...@@ -11,3 +11,4 @@ pep257==0.3.2 ...@@ -11,3 +11,4 @@ pep257==0.3.2
pep8==1.5.7 pep8==1.5.7
pylint==1.2.1 pylint==1.2.1
pytz==2012h pytz==2012h
nose-ignore-docstring==0.2
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