David Wobrock
|
99bd5fb4c2
Refs #34074 -- Used headers argument for RequestFactory and Client in docs and tests.
|
vor 2 Jahren |
Mariusz Felisiak
|
1a7d75cf77
Moved remaining SimpleTestCase.assertFormError()/assertFormsetErrors() tests to test_utils.
|
vor 3 Jahren |
Baptiste Mispelon
|
d84cd91e90
Refs #33348 -- Improved messages raised by SimpleTestCase.assertFormError()/assertFormsetErrors().
|
vor 3 Jahren |
Mariusz Felisiak
|
7119f40c98
Refs #33476 -- Refactored code to strictly match 88 characters line length.
|
vor 3 Jahren |
django-bot
|
9c19aff7c7
Refs #33476 -- Reformatted code with Black.
|
vor 3 Jahren |
Baptiste Mispelon
|
61b332499d
Used assertRaisesMessage() in test_client_regress.AssertFormErrorTests.
|
vor 3 Jahren |
Tom Carrick
|
bcc2befd0e
Fixed #31789 -- Added a new headers interface to HttpResponse.
|
vor 4 Jahren |
Hasan Ramezani
|
fc4f45ebdc
Used assertRaisesMessage() in various tests.
|
vor 5 Jahren |
Patrick Jenkins
|
46e74a5256
Fixed #28337 -- Preserved extra headers of requests made with django.test.Client in assertRedirects().
|
vor 7 Jahren |
Jon Dufresne
|
d6ea4898c4
Fixed #30550 -- Fixed decoding of non-UTF-8 bytes objects in response.json().
|
vor 5 Jahren |
Marnanel Thurman
|
7cc52250f0
Fixed #29662 -- Allowed test client to accept structured suffix JSON content types.
|
vor 6 Jahren |
Thng Kai Yuan
|
71a739f3d7
Fixed #29576 -- Corrected the test client's HTTP_COOKIE header.
|
vor 6 Jahren |
Tim Graham
|
9294110a57
Fixed #29520 -- Fixed test client crash when posting bytes.
|
vor 6 Jahren |
Chris Lamb
|
84ad721bd9
Fixed #29275 -- Made assertFormError() output "(actual errors: none)" instead of "(actual errors: )".
|
vor 7 Jahren |
Claude Paroz
|
29592eef19
Decoupled test client encoding tests from JSON handling
|
vor 8 Jahren |
Claude Paroz
|
145f6c3ed6
Refs #27622 -- Fixed a regression in JSON content-type detection
|
vor 8 Jahren |
Claude Paroz
|
324c4b6371
Renamed a test variable to prevent possible conflict with imports
|
vor 8 Jahren |
Tim Graham
|
500532c95d
Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().
|
vor 8 Jahren |
Claude Paroz
|
c651331b34
Converted usage of ugettext* functions to their gettext* aliases
|
vor 8 Jahren |
Tim Graham
|
29f607927f
Fixed spelling of "nonexistent".
|
vor 8 Jahren |
Vytis Banaitis
|
d1bab24e01
Refs #23919, #27778 -- Removed obsolete mentions of unicode.
|
vor 8 Jahren |
Claude Paroz
|
289fc1bfa5
Refs #23919 -- Removed str_prefix usage
|
vor 8 Jahren |
Tim Graham
|
4e729feaa6
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
|
vor 8 Jahren |
Simon Charette
|
cecc079168
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
vor 8 Jahren |
Claude Paroz
|
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
|
vor 8 Jahren |
Tim Graham
|
0f454f5d4d
Refs #23960 -- Removed the host parameter for SimpleTestCase.assertRedirects().
|
vor 8 Jahren |
Tim Graham
|
8516f7c49b
Fixed #27698 -- Added django.test.utils.ContextList.get()
|
vor 8 Jahren |
Anton Samarchyan
|
0b5d4c49d6
Fixed #27622 -- Allowed test client to accept vendor tree JSON content types.
|
vor 8 Jahren |
Adam Chainz
|
19e2114634
Fixed #27516 -- Made test client's response.json() cache the parsed JSON.
|
vor 8 Jahren |
Ramin Farajpour Cami
|
0a63ef3f61
Fixed #27463 -- Fixed E741 flake8 warnings.
|
vor 8 Jahren |