Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/file_storage
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #21042 -- Allowed accessing FileDescriptor on the ↵Tim Graham2015-10-011-3/+2
| | | | | | | model class. This is consistent with ability to reference other descriptors on the model class (5ef0c03ae9aca99289737ba6d88a371ad95cf432).
* Refs #9893 -- Removed shims for lack of max_length ↵Tim Graham2015-09-242-43/+0
| | | | support in file storage per deprecation timeline.
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-2/+2
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #24826 -- Accounted for filesystem-dependent ↵Claude Paroz2015-05-221-1/+13
| | | | | | | filename max length Thanks Raphaël Hertzog for the report and help on the patch, and Tim Graham for the review.
* Fixed typo in file_storage tests.Tim Graham2015-05-201-1/+1
|
* Refs #24652 -- Enforced test isolation in file_storage ↵Simon Charette2015-05-201-2/+4
| | | | tests.
* Fixed #24105 -- Called Storage.get_valid_name() when ↵Abhaya Agarwal2015-05-132-0/+20
| | | | upload_to is callable
* Guaranteed removal of temporary files during tests.Aymeric Augustin2015-02-231-2/+1
| | | | | | | Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-063-10/+8
|
* Removed threading fallback imports.Tim Graham2015-01-281-5/+1
| | | | Django imports threading in many other places without fallback.
* Skipped a problematic file_storage test on Windows.Tim Graham2015-01-141-0/+4
|
* Fixed #9893 -- Allowed using a field's max_length in the ↵Pavel Shpilev2015-01-122-3/+86
| | | | Storage.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-4/+4
| | | | Django test suite.
* Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵Thomas Chaumeny2014-09-281-2/+2
| | | | | | 3282. Thanks Collin Anderson for the review.
* Removed numbering from the models.py header of some test ↵Loic Bistuer2014-09-241-1/+1
| | | | | | packages. This is a reliqua from the early days of the modeltests/regressiontests era.
* Fixed #23157 -- Removed O(n) algorithm when uploading ↵Tim Graham2014-08-201-19/+27
| | | | | | duplicate file names. This is a security fix. Disclosure following shortly.
* Created import-time test temp dirs in known locationClaude Paroz2014-06-231-1/+2
| | | | Refs #17215. In the same spirit as 5de31cb8cb.
* Fixed #22680 -- I/O operation on closed file.Florian Apolloner2014-06-111-1/+19
| | | | | | | 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.
* Fixed #22717 -- Auto-corrected missing ending slash in ↵Claude Paroz2014-06-041-1/+9
| | | | | | | FileSystemStorage Thanks David Fischer for the report and Moayad Mardini for the review.
* Fixed #22337: FileSystemStorage marked as ↵Andrew Godwin2014-05-071-0/+17
| | | | deconstructible and tested.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-1/+1
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-031-3/+3
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Fixed #21674 -- Deprecated the import_by_path() function ↵Berker Peksag2014-02-081-12/+6
| | | | | | in favor of import_string(). Thanks Aymeric Augustin for the suggestion and review.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-1/+1
|
* PEP8 cleanupJason Myers2013-11-032-0/+6
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+0
|
* Fixed a F811 warning introduced by 35db9d58d6.Simon Charette2013-10-291-4/+4
|
* Rearranged some file-related testsClaude Paroz2013-10-275-134/+166
| | | | Just moving around some tests to be more logically grouped.
* Fix all violators of E231Alex Gaynor2013-10-261-1/+1
|
* Fixed #21219 -- Added a way to set different permission ↵Vajrasky Kok2013-10-241-1/+4
| | | | | | | | | | | for static files. 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.
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+4
|
* Removed unused local variables in tests.Tim Graham2013-10-191-3/+3
|
* Removed unneeded imports in tests's __init__.py and ↵Florian Apolloner2013-09-091-1/+0
| | | | unified them.
* Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin2013-09-051-5/+2
|
* Fixed a couple unclosed file warnings in testsTim Graham2013-09-031-3/+4
|
* Fixed #13518 -- Added FILE_UPLOAD_DIRECTORY_PERMISSIONS ↵Mel Collins2013-08-121-0/+12
| | | | | | | | | setting This setting does for new directories what FILE_UPLOAD_PERMISSIONS does for new files. Thanks jacob@ for the suggestion.
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+1
| | | | Refs #20680.
* Do not allow FileSystemStorage.delete to receive an ↵Claude Paroz2013-06-291-0/+8
| | | | | | empty name Refs #20660.
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-0/+2
| | | | Fixed #20483.
* Refactored file_storage tests to avoid depending on ↵Aymeric Augustin2013-06-102-7/+18
| | | | servers tests.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-3/+3
| | | | Gives much nicer errors when it fails.
* Fixed #19934 - Use of Pillow is now preferred over PIL.Daniel Lindsley2013-05-151-13/+7
| | | | This starts the deprecation period for PIL (support to end in 1.8).
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-1/+1
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-266-0/+646