Removing pydase/utils/logging.py from pytest coverage report

Changing the environment variable "ENVIRONMENT" does not change the
confz configuration. Additionally, the setup_logging file is removing
any loggers (line 61). With this, caplog with loguru doesn't work as we
are already using some sort of hack to get the loguru logs with pytest.
We can therefore not test if the setup_logging function works as
expected.
This commit is contained in:
Mose Müller 2023-08-17 17:42:44 +02:00
parent fab526a679
commit 0626500cdd

View File

@ -1,4 +1,6 @@
[report]
exclude_lines =
pragma: no cover
if TYPE_CHECKING:
if TYPE_CHECKING:
omit =
src/pydase/utils/logging.py