Azure / pytest-azurepipelines

Plugin for pytest that makes it simple to work with Azure Pipelines
MIT License
112 stars 35 forks source link

Calls to log trigger basicConfig #77

Closed DavideCanton closed 1 year ago

DavideCanton commented 1 year ago

This plugin invokes some logging methods from its pytest_configure method.

The problem is that in scenarios where I have no handler added to the logger (because I don't need it in test executions), the calls from the plugin trigger a basicConfig and then all the log is printed in the test run.

DavideCanton commented 1 year ago

It seems it is a pytest-nunit issue, moving it there.

DavideCanton commented 1 year ago

Created https://github.com/pytest-dev/pytest-nunit/issues/68