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:
parent
ea9d96739f
commit
a395e531de
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue