Ticket #11032: 11032.diff
File 11032.diff, 494 bytes (added by , 15 years ago) |
---|
-
tests/regressiontests/file_storage/models.py
86 86 >>> p3.mugshot.file.open() 87 87 >>> p = Person.objects.create(name="Bob The Builder", mugshot=File(p3.mugshot.file)) 88 88 >>> p.save() 89 >>> p3.mugshot.file.close() 89 90 90 91 # Delete all test files 91 92 >>> shutil.rmtree(temp_storage_dir)