summaryrefslogtreecommitdiff
path: root/tests/file_storage
AgeCommit message (Collapse)Author
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
Thanks Collin Anderson for the review.
2014-09-24Removed numbering from the models.py header of some test packages.Loic Bistuer
This is a reliqua from the early days of the modeltests/regressiontests era.
2014-08-20Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.Tim Graham
This is a security fix. Disclosure following shortly.
2014-06-23Created import-time test temp dirs in known locationClaude Paroz
Refs #17215. In the same spirit as 5de31cb8cb.
2014-06-11Fixed #22680 -- I/O operation on closed file.Florian Apolloner
This patch is two-fold; first it ensure that Django does close everything in request.FILES at the end of the request and secondly the storage system should no longer close any files during save, it's up to the caller to handle that -- or let Django close the files at the end of the request.
2014-06-04Fixed #22717 -- Auto-corrected missing ending slash in FileSystemStorageClaude Paroz
Thanks David Fischer for the report and Moayad Mardini for the review.
2014-05-06Fixed #22337: FileSystemStorage marked as deconstructible and tested.Andrew Godwin
2014-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-02-08Fixed #21674 -- Deprecated the import_by_path() function in favor of ↵Berker Peksag
import_string(). Thanks Aymeric Augustin for the suggestion and review.
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-29Fixed a F811 warning introduced by 35db9d58d6.Simon Charette
2013-10-27Rearranged some file-related testsClaude Paroz
Just moving around some tests to be more logically grouped.
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-24Fixed #21219 -- Added a way to set different permission for static files.Vajrasky Kok
Previously, when collecting static files, the files would receive permission from FILE_UPLOAD_PERMISSIONS. Now, there's an option to give different permission from uploaded files permission by subclassing any of the static files storage classes and setting the file_permissions_mode parameter. Thanks dblack at atlassian.com for the suggestion.
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-19Removed unused local variables in tests.Tim Graham
2013-09-09Removed unneeded imports in tests's __init__.py and unified them.Florian Apolloner
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-09-03Fixed a couple unclosed file warnings in testsTim Graham
2013-08-12Fixed #13518 -- Added FILE_UPLOAD_DIRECTORY_PERMISSIONS settingMel Collins
This setting does for new directories what FILE_UPLOAD_PERMISSIONS does for new files. Thanks jacob@ for the suggestion.
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-29Do not allow FileSystemStorage.delete to receive an empty nameClaude Paroz
Refs #20660.
2013-06-10Defined available_apps in relevant tests.Aymeric Augustin
Fixed #20483.
2013-06-10Refactored file_storage tests to avoid depending on servers tests.Aymeric Augustin
2013-05-21Use assertIsInstance in tests.Marc Tamlyn
Gives much nicer errors when it fails.
2013-05-14Fixed #19934 - Use of Pillow is now preferred over PIL.Daniel Lindsley
This starts the deprecation period for PIL (support to end in 1.8).
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner