id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges 10182,Unit tests do not run in their own sandbox,Emmanuel Blot,,"Unit tests use the system temporary directory to create sub dirs and files. This leads to two distinct issues: 1. Two test sessions running at once on the same host may collide, as they create, update and remove files and directories within the same top directory 1. If the temporary directory already contains files or dirs from a previous test session, the current test session fails within the setUp() methods. This issue causes the Python `unittest` framework not to call the clean up tearDown() methods, leaving the faulty directory unfixed. Any subsequent unit test session keeps failing until manual removal of the directory is performed. A unique temporary directory could be created and used for every single test session, to avoid those issues. ",enhancement,new,normal,next-major-releases,general,0.13dev,normal,,unit-testing,retracile@…,,,,