Ensured that some staticfiles tests get properly cleaned up on teardown. Thanks to Claude Paroz for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Julien Phalip 2012-03-16 00:29:11 +00:00
parent ea9d96739f
commit a395e531de
1 changed files with 1 additions and 0 deletions

View File

@ -319,6 +319,7 @@ class TestCollectionFilesOverride(CollectionTestCase):
os.unlink(self.testfile_path)
# set back original modification time
os.utime(self.orig_path, (self.orig_atime, self.orig_mtime))
super(TestCollectionFilesOverride, self).tearDown()
def test_ordering_override(self):
"""