aryan
|
11c4a4412b
Fixed #30422 -- Made TemporaryFileUploadHandler handle interrupted uploads.
|
há 5 anos atrás |
aryan
|
21b127bfbc
Refs #30422 -- Added test for removing temporary files in MultiPartParser when StopUpload is raised.
|
há 4 anos atrás |
Michael Brown
|
36db4dd937
Fixed #28132 -- Made MultiPartParser ignore filenames with trailing slash.
|
há 4 anos atrás |
007
|
e65fea9292
Fixed #31293 -- Allowed MultiPartParser to handle double-quoted encoded headers.
|
há 5 anos atrás |
Nick Pope
|
7552de7866
Used more specific unittest assertions in tests.
|
há 5 anos atrás |
Jon Dufresne
|
95b7699ffc
Cleaned up exception message checking in some tests.
|
há 6 anos atrás |
Jon Dufresne
|
290d8471bb
Fixed #30147 -- Simplified directory creation with os.makedirs(..., exist_ok=True).
|
há 6 anos atrás |
Jon Dufresne
|
7785e03ba8
Fixed #30137 -- Replaced OSError aliases with the canonical OSError.
|
há 6 anos atrás |
Mads Jensen
|
4167959105
Added tests for incorrect content type and size in MultiPartParser.
|
há 6 anos atrás |
Tim Graham
|
fa75b2cb51
Refs #27795 -- Removed force_bytes/text() usage in tests.
|
há 7 anos atrás |
Tim Graham
|
5e303836b6
Used JsonResponse and response.json in file_uploads tests.
|
há 8 anos atrás |
Chillar Anand
|
6478e07a62
Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context manager.
|
há 8 anos atrás |
Claude Paroz
|
fee42fd99e
Refs #23919 -- Replaced usage of django.utils.http utilities with Python equivalents
|
há 8 anos atrás |
chillaranand
|
d6eaf7c018
Refs #23919 -- Replaced super(ClassName, self) with super().
|
há 8 anos atrás |
Tim Graham
|
632c4ffd9c
Refs #23919 -- Replaced errno checking with PEP 3151 exceptions.
|
há 8 anos atrás |
Claude Paroz
|
2b281cc35e
Refs #23919 -- Removed most of remaining six usage
|
há 8 anos atrás |
Claude Paroz
|
c716fe8782
Refs #23919 -- Removed six.PY2/PY3 usage
|
há 8 anos atrás |
Claude Paroz
|
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
|
há 8 anos atrás |
za
|
321e94fa41
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
há 8 anos atrás |
Tim Graham
|
c9ae09addf
Replaced use of TestCase.fail() with assertRaises().
|
há 8 anos atrás |
Florian Apolloner
|
9baf692a58
Fixed #26601 -- Improved middleware per DEP 0005.
|
há 9 anos atrás |
Tim Graham
|
92053acbb9
Fixed E128 flake8 warnings in tests/.
|
há 9 anos atrás |
John-Mark Bell
|
4b129ac81f
Fixed #26325 -- Made MultiPartParser ignore filenames that normalize to an empty string.
|
há 9 anos atrás |
Hasan
|
3d0dcd7f5a
Refs #26022 -- Used context manager version of assertRaises in tests.
|
há 9 anos atrás |
Mingun Pak
|
4c912d184d
Fixed typos in test comments.
|
há 9 anos atrás |
Dražen Odobašić
|
b1e33ceced
Fixed #23395 -- Limited line lengths to 119 characters.
|
há 9 anos atrás |
Tim Graham
|
6e3fe089dd
Replaced six.BytesIO with io.BytesIO
|
há 9 anos atrás |
Simon Charette
|
4ccfc4439a
Refs #24652 -- Fixed a test failure in file_uploads tests on Windows.
|
há 9 anos atrás |
Simon Charette
|
be67400b47
Refs #24652 -- Used SimpleTestCase where appropriate.
|
há 10 anos atrás |
Aymeric Augustin
|
a8fe12417f
Normalized usage of the tempfile module.
|
há 10 anos atrás |