# HG changeset patch # User RĂ©mi Cardona # Date 1409559766 -7200 # Node ID 1ced03652d5e1ea59bb2e573c7353fd50742fb93 # Parent 3905682ece112fce77d674e38c1786e36d4efa97 [devtools] "Keep" some temporary files/dirs around to help with debugging The whole QUnitTestCase runs with an @with_tempdir so it's redundant anyway. diff -r 3905682ece11 -r 1ced03652d5e devtools/qunit.py --- a/devtools/qunit.py Fri Aug 01 19:28:44 2014 +0200 +++ b/devtools/qunit.py Mon Sep 01 10:22:46 2014 +0200 @@ -84,7 +84,6 @@ def __del__(self): self.stop() - rmtree(self._profile_dir) class QUnitTestCase(CubicWebServerTC): @@ -140,7 +139,7 @@ # generate html test file jquery_dir = 'file://' + self.config.locate_resource('jquery.js')[0] - html_test_file = NamedTemporaryFile(suffix='.html') + html_test_file = NamedTemporaryFile(suffix='.html', delete=False) html_test_file.write(make_qunit_html(test_file, depends, base_url=self.config['base-url'], web_data_path=jquery_dir))