pcdshub / hutch-python

Launcher and config reader for LCLS interactive IPython sessions
https://pcdshub.github.io/hutch-python/
Other
0 stars 18 forks source link

Test logging needs cleanup #371

Open ZLLentz opened 1 year ago

ZLLentz commented 1 year ago

Expected Behavior

All unit tests should be independent

Current Behavior

Certain tests that run through the hutch-python logging setup mechanisms can break other tests that test the logging mechanism when they fail, because they also fail to clean up the mess they've made.

Possible Solution

Use fixtures or try/except for cleanup