Tim Graham
|
5bea8d256d
Fixed #29553 -- Made test client set Content-Length header to a string rather than integer.
|
6 år sedan |
Jan Pieter Waagmeester
|
24959e48d9
Fixed #27398 -- Added an assertion to compare URLs, ignoring the order of their query strings.
|
7 år sedan |
Mariusz Felisiak
|
362813d628
Fixed hanging indentation in various code.
|
7 år sedan |
Tim Graham
|
a6fb81750a
Added a test for Client.generic() data coercion.
|
7 år sedan |
Tim Graham
|
4206765a5b
Refs #20530 -- Added a test for test client query string encoding.
|
7 år sedan |
Nick Sarbicki
|
47268242b0
Fixed #29082 -- Allowed the test client to encode JSON request data.
|
7 år sedan |
Tom
|
272f685794
Fixed #27999 -- Added test client support for HTTP 307 and 308 redirects.
|
7 år sedan |
Nicolas Delaby
|
746caf3ef8
Fixed #28837 -- Fixed test client crash if an exception with more than one arg is raised.
|
7 år sedan |
Claude Paroz
|
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
|
8 år sedan |
Jon Dufresne
|
8db6a6c0a1
Refs #27184 -- Fixed unclosed file ResourceWarning in test_client test.
|
8 år sedan |
Anton Samarchyan
|
47744a0a4e
Fixed #27542 -- Made Client.force_login() skip auth backends without get_user().
|
8 år sedan |
za
|
321e94fa41
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
8 år sedan |
Tom Scrace
|
e7dfb60353
Tested the test client uploading of NamedTemporaryFile.
|
8 år sedan |
Tom Scrace
|
5549e89b84
Fixed #27184 -- Allowed uploading TemporaryFile with the test client.
|
8 år sedan |
Ben Demboski
|
fc8f097117
Fixed #27027 -- Restored Client.force_login() defaulting to the first auth backend.
|
8 år sedan |
Tim Graham
|
c9ae09addf
Replaced use of TestCase.fail() with assertRaises().
|
8 år sedan |
Tobias McNulty
|
17e661641d
Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.
|
8 år sedan |
Jon Dufresne
|
4f336f6652
Fixed #26747 -- Used more specific assertions in the Django test suite.
|
8 år sedan |
Tobias McNulty
|
c7b1b81352
Fixed #26666 -- Added more useful error message to assertRedirects
|
8 år sedan |
Florian Apolloner
|
9baf692a58
Fixed #26601 -- Improved middleware per DEP 0005.
|
9 år sedan |
Tim Graham
|
2f698cd991
Refs #26428 -- Added support for relative path redirects to the test client.
|
9 år sedan |
Sergey Kolosov
|
21dd98a386
Fixed #25699 -- Allowed using the test client if 'django.contrib.sessions' isn't in INSTALLED_APPS.
|
9 år sedan |
Tim Graham
|
d2569f89f2
Fixed #26428 -- Added support for relative path redirects in assertRedirects().
|
9 år sedan |
Alexander Gaevsky
|
107165c4b0
Fixed #24987 -- Allowed inactive users to login with the test client.
|
9 år sedan |
Alexander Gaevsky
|
e0a3d93730
Fixed #25232 -- Made ModelBackend/RemoteUserBackend reject inactive users.
|
9 år sedan |
Tim Graham
|
015fad9060
Fixed #26175 -- Removed SHA1 password hashes in tests.
|
9 år sedan |
Hasan
|
3d0dcd7f5a
Refs #26022 -- Used context manager version of assertRaises in tests.
|
9 år sedan |
userimack
|
60586dd737
Fixed #26125 -- Fixed E731 flake warnings.
|
9 år sedan |
Paulo Poiati
|
b643386668
Fixed #24855 -- Allowed using contrib.auth.login() without credentials.
|
9 år sedan |
Marten Kenbeek
|
16411b8400
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
|
9 år sedan |