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
test_fmt(fix[reset_logging]): Fix logging fixture to prevent test interference
why: Tests were failing when run after test_log.py because setup_logger()
created StreamHandlers that bypassed pytest's log capture mechanism.
what:
- Update reset_logging fixture to clear handlers before AND after tests
- Re-enable log propagation so pytest can capture logs properly
- Add libvcs to list of loggers to clear
- Make fixture autouse and remove unnecessary parameters from test methods
- Match the pattern used in test_add.py and test_add_from_fs.py
refs: Fixes all 7 failing tests in TestFormatConfigFile class
0 commit comments