You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please indicate the following details about the environment in which you found the bug:
SDV version: 1.15
Python version: All
Operating System: All
Error Description
If you enable logging by setting log_registry to 'local' in the sdv_logger_config.yml, the unit tests start to fail. This is because a lot of the unit tests use caplog to test the logs. Caplog adds a new handler to the logger. The first handler (the filehandler we use for sdv logs), modifies the log record here
Environment Details
Please indicate the following details about the environment in which you found the bug:
Error Description
If you enable logging by setting
log_registry
to 'local' in the sdv_logger_config.yml, the unit tests start to fail. This is because a lot of the unit tests use caplog to test the logs. Caplog adds a new handler to the logger. The first handler (the filehandler we use for sdv logs), modifies the log record hereSDV/sdv/logging/logger.py
Lines 34 to 38 in a0e0a76
This causes the handler that caplog uses to have a different message than expected and thus the tests fail assertions
Steps to reproduce
log_registry
to 'local' on your config.invoke unit
The text was updated successfully, but these errors were encountered: