Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/file_uploads
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-8/+12
|
* Replaced six.BytesIO with io.BytesIOTim Graham2015-07-201-1/+2
|
* Fixed some unclosed objects in testsAndriy Sokolovskiy2015-07-061-1/+5
|
* Refs #24652 -- Fixed a test failure in file_uploads ↵Simon Charette2015-05-261-2/+2
| | | | | | tests on Windows. Thanks to Tim Graham for the report.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
|
* Normalized usage of the tempfile module.Aymeric Augustin2015-02-231-10/+3
| | | | Specifically stopped using the dir argument.
* Guaranteed removal of temporary files during tests.Aymeric Augustin2015-02-231-1/+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-6/+3
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-1/+1
|
* Fixed #24209 -- Prevented crash when parsing malformed ↵Raul Cumplido2015-01-271-0/+17
| | | | | | RFC 2231 headers Thanks Tom Christie for the report and review.
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1
|
* Avoided a deprecated alias on Python 3 in file_uploads test.Tim Graham2015-01-081-2/+3
|
* Fixed #23968 -- Replaced list comprehension with ↵Jon Dufresne2014-12-081-5/+5
| | | | generators and dict comprehension
* Fixed #23911 -- Added support for buffer file uploads in ↵Thomas Tanner2014-12-041-1/+29
| | | | the test client
* Removed redundant numbered parameters from str.format().Berker Peksag2014-12-031-2/+2
| | | | Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
* Fixed #21281 -- Made override_settings act at class ↵Thomas Chaumeny2014-11-031-0/+4
| | | | level when used as a TestCase decorator.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-3/+3
| | | | Django test suite.
* Fixed #23397 -- Stripped whitespace from base64 during ↵Jason Hobbs2014-09-131-2/+6
| | | | | | | chunking This insures the actual base64 content has a length a multiple of 4. Also added a test case for the failure.
* Fixed #22971 -- Properly parsed RFC 2388 encoded headersClaude Paroz2014-08-141-1/+65
| | | | | Thanks homm for the report, Cea Stapleton for patch improvements and Ian Cordasco, Christian Schmitt and Tim Graham for the review.
* Created import-time test temp dirs in known locationClaude Paroz2014-06-231-1/+1
| | | | Refs #17215. In the same spirit as 5de31cb8cb.
* Fixed #22680 -- I/O operation on closed file.Florian Apolloner2014-06-113-0/+38
| | | | | | | 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 a ResourceWarning that wasn't properly fixed by ↵Loic Bistuer2014-05-251-2/+0
| | | | | | the previous commit. Also removed unused import in runtests.py.
* Fixed a few ResourceWarning in the test suite. Refs #22680.Loic Bistuer2014-05-251-91/+95
|
* Fix many many typos in comments throughout the codebaseAlex Gaynor2014-04-261-2/+2
|
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-2/+1
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-031-14/+14
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Fixed #21774 -- Isolate all test urls from eachother.Marc Tamlyn2014-01-141-15/+17
| | | | | | | | | | | | | This (nearly) completes the work to isolate all the test modules from each other. This is now more important as importing models from another module will case PendingDeprecationWarnings if those modules are not in INSTALLED_APPS. The only remaining obvious dependencies are: - d.c.auth depends on d.c.admin (because of the is_admin flag to some views), but this is not so important and d.c.admin is in always_installed_apps - test_client_regress depends on test_client. Eventually these should become a single module, as the split serves no useful purpose.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-1/+1
|
* PEP8 cleanupJason Myers2013-11-033-2/+15
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed all E261 warningscoagulant2013-11-031-1/+1
|
* Fixed flake8 E241Boryslav Larin2013-11-022-21/+22
|
* Fix all violators of E231Alex Gaynor2013-10-261-1/+1
|
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-2/+1
|
* Removed unused local variables in tests.Tim Graham2013-10-191-3/+3
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-2/+2
|
* Fixed #21033 -- Fixed uploaded filenames not always ↵homm2013-09-101-12/+26
| | | | being truncated to 255 characters
* Fixed #20989 -- Removed useless explicit list ↵Simon Charette2013-08-301-2/+2
| | | | comprehensions.
* Removed most of absolute_import importsClaude Paroz2013-07-293-4/+2
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Fixed #13721 -- Added UploadedFile.content_type_extra.Benjamin Kagia2013-07-113-1/+34
| | | | Thanks Waldemar Kornewald and mvschaik for work on the patch.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+1
| | | | Refs #20680.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-266-0/+612