Fix testWriteSampleFolder when using debug mode
Release notes
Fix testWriteSampleFolder when using debug mode
Details
When in debug mode the function writeSampleFolder
writes the file debug.root (called from testWriteSampleFolder
), but then the real output file is deleted. This leads to an error when the real output file is not existing, which happens when you didn't execute this step before or you run with --debug twice)