From 14f1b9e75c51372302b133de365c0ed1f06fa82a Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 17 Oct 2023 21:16:40 +0200 Subject: [PATCH] test: Add poetry-cov library --- poetry.lock | 20 +++++++++++++++++++- pyproject.toml | 1 + 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 886f483..c405f7c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -730,6 +730,24 @@ pluggy = ">=0.12,<2.0" [package.extras] testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +[[package]] +name = "pytest-cov" +version = "4.1.0" +description = "Pytest plugin for measuring coverage." +optional = false +python-versions = ">=3.7" +files = [ + {file = "pytest-cov-4.1.0.tar.gz", hash = "sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6"}, + {file = "pytest_cov-4.1.0-py3-none-any.whl", hash = "sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a"}, +] + +[package.dependencies] +coverage = {version = ">=5.2.1", extras = ["toml"]} +pytest = ">=4.6" + +[package.extras] +testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"] + [[package]] name = "python-doi" version = "0.2.0" @@ -1074,4 +1092,4 @@ whoosh = ["whoosh"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "dac37f6a903033ed95f65a69f7ca90a115aa390284835c2a8e82ea3fc0a196ab" +content-hash = "02d5ac314a19f14103372c7ceccdaec080df3fdc2fdb1381f2f6343cd6d17db4" diff --git a/pyproject.toml b/pyproject.toml index 8551182..7e252fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ whoosh = ["whoosh"] [tool.poetry.group.dev.dependencies] pytest = "^7.4.0" coverage = "^7.3.1" +pytest-cov = "^4.1.0" [tool.poetry.plugins."papis.command"] extract = "papis_extract:main"