From 53d3bd36582c3a10fe16f3ef64fed16344957526 Mon Sep 17 00:00:00 2001 From: Anna Sidwell Date: Sun, 2 Dec 2018 02:36:20 +0000 Subject: [PATCH] Add templates to coverage --- .coveragerc | 5 +++++ requirements/test.in | 7 ++++--- requirements/test.txt | 5 +++-- 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..c5b870f --- /dev/null +++ b/.coveragerc @@ -0,0 +1,5 @@ +[run] +include = ojusomap/* +omit = *migrations*, *tests* +plugins = + django_coverage_plugin diff --git a/requirements/test.in b/requirements/test.in index dce26d7..f833417 100644 --- a/requirements/test.in +++ b/requirements/test.in @@ -1,5 +1,6 @@ -pytest -pytest-django -pytest-cov django-override-storage +django_coverage_plugin +pytest +pytest-cov +pytest-django selenium diff --git a/requirements/test.txt b/requirements/test.txt index 5bac0fb..82e97bc 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -6,7 +6,8 @@ # atomicwrites==1.2.1 # via pytest attrs==18.2.0 # via pytest -coverage==4.5.1 # via pytest-cov +coverage==4.5.1 # via django-coverage-plugin, pytest-cov +django-coverage-plugin==1.6.0 django-override-storage==0.1.6 more-itertools==4.3.0 # via pytest pluggy==0.7.1 # via pytest @@ -15,4 +16,4 @@ pytest-cov==2.6.0 pytest-django==3.4.3 pytest==3.8.1 selenium==3.12.0 -six==1.11.0 # via more-itertools, pytest +six==1.11.0 # via django-coverage-plugin, more-itertools, pytest