Replies: 1 comment 1 reply
-
Actually, I think I came up with a fix. See: https://docs.pytest.org/en/7.1.x/reference/reference.html#confval-log_cli What I don't understand is why this works; however, in another repo where is use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a basic logging configuration as follow:
I've configured
pytest
andcoverage
as follow in my pyproject.toml:When I run a basic unit test of multiple
app_log.*()
calls, I get the following:I would have expected to see the log calls but it seems that with a
basicConfig
it doesn't work. It works viadictConfig
in another project. I was hoping to usebasicConfig
for simplicity.Beta Was this translation helpful? Give feedback.
All reactions