From 42d338478b0522cdb4ed528dddd056213b9bbfd2 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Fri, 7 Feb 2025 11:41:41 -0500 Subject: [PATCH] cephadm: add cephadmlib to tox coverage environment When using the `coverage` tox environment we want to see the coverage for the majority of the cephadm code. There is now a lot of code in cephadmlib and so it makes sense to extend the default coverage report to include cephadmlib. Signed-off-by: John Mulligan --- src/cephadm/tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index d643b1ba74f9d..4cf5161e1714e 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -70,7 +70,7 @@ deps = {[testenv]deps} pytest-cov commands = - pytest -v --cov=cephadm --cov-report=term-missing --cov-report=html {posargs} + pytest -v --cov=cephadm --cov=cephadmlib --cov-report=term-missing --cov-report=html {posargs} [testenv:check-black] deps = -- 2.47.3