ivoflipse / Pawlabeling

Tool for processing and analyzing pressure measurements
Other
18 stars 1 forks source link

Turn off logging during tests #76

Closed ivoflipse closed 10 years ago

ivoflipse commented 10 years ago

When I run the tests, they drive my logger crazy, because the format doesn't really match what the normal application generates. See if you can find out how to make it turn off logging or write to another file.

ivoflipse commented 10 years ago

I've turned off logging to be sure (I hope its not persistent though), but the issue was caused by multiple functions calling setup_logging. So now I've changed it so only the main_window calls setup_logging.

I might change it such that settings maintains an instance of Settings() and have that call it though