Skip to content

Commit 53afc44

Browse files
committed
Fix coverage
1 parent c0f7618 commit 53afc44

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

{{cookiecutter.module_name}}/pyproject.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,16 @@ docs = [
3838
{% if cookiecutter.testing|lower != 'none' %}
3939
[tool.pytest.ini_options]
4040
addopts = [
41-
"--import-mode=importlib",
42-
{%- if cookiecutter.testing|lower == 'pytest-cov' %}
43-
"--cov={{cookiecutter.module_name}} --cov-report html --cov-report term-missing -v",
41+
"--import-mode=importlib",
42+
{%- if cookiecutter.testing|lower == 'pytest-cov'%}
43+
"--cov={{cookiecutter.module_name}}",
44+
"--cov-report=html",
45+
"--cov-report=term-missing",
46+
"-v"
4447
{%- endif %}
4548
]
49+
50+
testpaths = [
51+
"tests"
52+
]
4653
{% endif -%}

0 commit comments

Comments
 (0)