Author: jezdez
Date: 2011-12-22 12:29:18 -0800 (Thu, 22 Dec 2011)
New Revision: 17243

Modified:
   django/trunk/tests/regressiontests/staticfiles_tests/tests.py
Log:
Re-enabled the cleanup of STATIC_ROOT in the staticfiles tests.

Modified: django/trunk/tests/regressiontests/staticfiles_tests/tests.py
===================================================================
--- django/trunk/tests/regressiontests/staticfiles_tests/tests.py       
2011-12-22 20:18:54 UTC (rev 17242)
+++ django/trunk/tests/regressiontests/staticfiles_tests/tests.py       
2011-12-22 20:29:18 UTC (rev 17243)
@@ -103,8 +103,8 @@
         settings.STATIC_ROOT = 
tempfile.mkdtemp(dir=os.environ['DJANGO_TEST_TEMP_DIR'])
         self.run_collectstatic()
         # Use our own error handler that can handle .svn dirs on Windows
-        #self.addCleanup(shutil.rmtree, settings.STATIC_ROOT,
-        #                ignore_errors=True, onerror=rmtree_errorhandler)
+        self.addCleanup(shutil.rmtree, settings.STATIC_ROOT,
+                        ignore_errors=True, onerror=rmtree_errorhandler)
 
     def tearDown(self):
         settings.STATIC_ROOT = self.old_root

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to