7

adds code coverage

This commit is contained in:
Boris Besemer
2016-11-28 15:35:20 +01:00
parent 7fda39bed5
commit 5964161ea2
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,9 @@ develop: clean requirements
test:
py.test --nomigrations --reuse-db tests/
coverage:
py.test --cov=personalisation --cov-report=term-missing --cov-report=html
lint: flake8 isort
flake8:

View File

@ -8,6 +8,7 @@ install_requires = [
tests_require = [
'pytest==3.0.4',
'pytest-cov==2.4.0',
'pytest-django==3.0.0',
'pytest-sugar==0.7.1',
'freezegun==0.3.8',