Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #15362: Added explicit deletion of file to test, needed now sin…

…ce files are no longer auto-deleted when a referencing object is deleted. Thanks mila.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f21fc714eadcb90e1b61c0d86b34843f761516ea 1 parent 4419f5f
Karen Tracey authored February 21, 2011
1  tests/regressiontests/file_uploads/views.py
@@ -71,6 +71,7 @@ def file_upload_unicode_name(request):
71 71
     # upload directory has been seen to choke on unicode
72 72
     # filenames on Windows.)
73 73
     obj.delete()
  74
+    os.unlink(full_name)
74 75
 
75 76
     if response:
76 77
         return response

0 notes on commit f21fc71

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