Skip to content

Commit e98009d

Browse files
committed
Add coverage and pytest-cov
1 parent 64daae4 commit e98009d

File tree

3 files changed

+83
-1
lines changed

3 files changed

+83
-1
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ venv
55
prod.http
66
.env
77
.python-version
8+
.tox/
9+
.pytest_cache
10+
.coverage
11+
htmlcov/
812

913
# Byte-compiled / optimized / DLL files
1014
__pycache__/

poetry.lock

+77-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ tox = "^3.25.0"
3636
pytest = "^7.1.2"
3737
pytest-django = "^4.5.2"
3838
pylint-pytest = "^1.1.2"
39+
coverage = "^6.4.1"
40+
pytest-cov = "^3.0.0"
3941

4042
[tool.poetry.scripts]
4143
server = 'server:main'

0 commit comments

Comments
 (0)