Ticket #11084: 11084-failing-tests.diff
File 11084-failing-tests.diff, 644 bytes (added by , 16 years ago) |
---|
-
tests/regressiontests/file_storage/models.py
82 82 >>> p3.mugshot.closed 83 83 True 84 84 85 # If the file is unavailable 86 >>> path = p3.mugshot.path 87 >>> shutil.move(path, path + '2') 88 >>> p4 = Person.objects.get(name="Joan") 89 >>> shutil.move(path + '2', path) 90 85 91 # Make sure that wrapping the file in a file still works 86 92 >>> p3.mugshot.file.open() 87 93 >>> p = Person.objects.create(name="Bob The Builder", mugshot=File(p3.mugshot.file))