Closed tobiaskleiner closed 2 weeks ago
Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w
Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w
Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w
Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w
Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w
Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w
Thanks @GernotMaier for the review. I have now reverted back to with statements and added a few more where they were previously missing. Also now there should be no more general statements to set log levels globally. Let me know if everything is alright now.
Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w
This PR adds a fixture to set the log level context. In some cases the context was added where it was previously missing. In some cases log levels where adjusted to better reflect the log message.
This adresses the problem that previously we set
logger.setLevel(logging.DEBUG)
for almost all unit tests.