Regarding the temporary file: using tempfile.mkdtemp() creates a directory with the wrong permissions (unreadable by os.makedirs() in the scope). If I chmod it to the right permissions, it works fine with noestests3, but then fails in the builder. I'm not sure what is the best way to handle this.
I've updated test_preview.
Regarding the temporary file: using tempfile.mkdtemp() creates a directory with the wrong permissions (unreadable by os.makedirs() in the scope). If I chmod it to the right permissions, it works fine with noestests3, but then fails in the builder. I'm not sure what is the best way to handle this.