Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Re-enabled the cleanup of STATIC_ROOT in the staticfiles tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 03eb2907d5e3d600964836287e9d3f48ec7ec667 1 parent 2f18d8b
Jannis Leidel authored December 22, 2011
4  tests/regressiontests/staticfiles_tests/tests.py
@@ -103,8 +103,8 @@ def setUp(self):
103 103
         settings.STATIC_ROOT = tempfile.mkdtemp(dir=os.environ['DJANGO_TEST_TEMP_DIR'])
104 104
         self.run_collectstatic()
105 105
         # Use our own error handler that can handle .svn dirs on Windows
106  
-        #self.addCleanup(shutil.rmtree, settings.STATIC_ROOT,
107  
-        #                ignore_errors=True, onerror=rmtree_errorhandler)
  106
+        self.addCleanup(shutil.rmtree, settings.STATIC_ROOT,
  107
+                        ignore_errors=True, onerror=rmtree_errorhandler)
108 108
 
109 109
     def tearDown(self):
110 110
         settings.STATIC_ROOT = self.old_root

0 notes on commit 03eb290

Please sign in to comment.
Something went wrong with that request. Please try again.