summaryrefslogtreecommitdiff
path: root/tests/files
AgeCommit message (Collapse)Author
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-14Close file after tests added in 945e033a69.Ramiro Morales
Avoids failures on Windows. Refs #8918.
2013-10-11Fixed #8918 -- Made FileField.upload_to optional.Tim Graham
Thanks leahculver for the suggestion and dc and vajrasky for work on the patch.
2013-10-02Fixed #21122 -- Improved clean up of test temp directory on WindowsKevin Christopher Henry
- Fixed test that didn't close the files it opened - Caught and handled exception when temp directory cannot be removed
2013-09-10Fixed #21033 -- Fixed uploaded filenames not always being truncated to 255 ↵homm
characters
2013-09-09Removed unneeded imports in tests's __init__.py and unified them.Florian Apolloner
2013-09-06Fixed #11857 -- Added missing 'closed' property on TemporaryFile class.Christopher Adams
- TemporaryFile now minimally mocks the API of the Python standard library class tempfile.NamedTemporaryFile to avoid AttributeError exceptions. - The symbol django.core.files.NamedTemporaryFile is actually assigned as a different class on different operating systems. - The bug only occurred if Django is running on Windows, hence why it was hard to diagnose.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-06-20Fixed #20486 -- Ensure that file_move_safe raises an error if the ↵Russell Keith-Magee
destination already exists. Thanks to kux for the report, and Russ Webber for the patch.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner