Nicolas Lupien
|
2bf46c3825
Fixed #34658 -- Added SimpleTestCase.assertNotInHTML().
|
il y a 1 an |
Mariusz Felisiak
|
20b7aac7ca
Refs #34900, Refs #34118 -- Updated assertion in test_skip_class_unless_db_feature() test on Python 3.12.1+.
|
il y a 1 an |
Chinmoy Chakraborty
|
1dae65dc63
Fixed #34657 -- Made assert(Not)Contains/assertInHTML display haystacks in error messages.
|
il y a 1 an |
Mariusz Felisiak
|
679212a47a
Refs #34657 -- Made msg_prefix handling in assertURLEqual()/assertInHTML consistent with other assertions.
|
il y a 1 an |
Chinmoy Chakraborty
|
e99c7d8847
Refs #34657 -- Made assertInHTML() use unparsed needle in error messages.
|
il y a 1 an |
Arian
|
51d703a27f
Fixed #34823 -- Fixed assertTemplateUsed() context manager crash on unnamed templates.
|
il y a 1 an |
Mariusz Felisiak
|
69af3bea99
Refs #33990 -- Removed TransactionTestCase.assertQuerysetEqual() per deprecation timeline.
|
il y a 1 an |
Mariusz Felisiak
|
c35fd9e275
Refs #33990 -- Removed SimpleTestCase.assertFormsetError() per deprecation timeline.
|
il y a 1 an |
David Smith
|
1d0dfc0b92
Refs #30686 -- Moved Parser.SELF_CLOSING_TAGS to django.utils.html.VOID_ELEMENTS
|
il y a 1 an |
David Smith
|
097e3a70c1
Refs #33476 -- Applied Black's 2023 stable style.
|
il y a 2 ans |
Mariusz Felisiak
|
3bbe22dafc
Fixed #34233 -- Dropped support for Python 3.8 and 3.9.
|
il y a 2 ans |
Mariusz Felisiak
|
71d1203b07
Refs #33348 -- Removed support for passing response object and form/formset name to SimpleTestCase.assertFormError()/assertFormSetError().
|
il y a 2 ans |
Mariusz Felisiak
|
23c8787439
Refs #33348 -- Removed support for passing errors=None to SimpleTestCase.assertFormError()/assertFormsetErrors().
|
il y a 2 ans |
Jarosław Wygoda
|
32940d390a
Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
|
il y a 2 ans |
Christophe Baldy
|
70c945d6b3
Used DatabaseFeatures.django_test_skips to skip AssertNumQueriesUponConnectionTests tests.
|
il y a 2 ans |
Gregor Gärtner
|
f0c06f8ab7
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
|
il y a 2 ans |
Gregor Gärtner
|
564b317fb5
Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to assertFormSetError().
|
il y a 2 ans |
SirAbhi13
|
4a1150b41d
Fixed #33616 -- Allowed registering callbacks that can fail in transaction.on_commit().
|
il y a 2 ans |
zhangyangyu
|
1bb9bd9724
Fixed #33633 -- Skipped some test_utils tests on databases that don't support transactions.
|
il y a 3 ans |
Mariusz Felisiak
|
2ee4caf56b
Refs #33173 -- Fixed test_runner/test_utils tests on Python 3.11+.
|
il y a 3 ans |
Baptiste Mispelon
|
50e1e7ef8e
Fixed #33348 -- Changed SimpleTestCase.assertFormError()/assertFormsetErrors() to take form/formset.
|
il y a 3 ans |
Mariusz Felisiak
|
1a7d75cf77
Moved remaining SimpleTestCase.assertFormError()/assertFormsetErrors() tests to test_utils.
|
il y a 3 ans |
Adam Johnson
|
a8c15481f4
Rewrote some references to "master".
|
il y a 3 ans |
Nick Pope
|
847f46e9bf
Removed redundant QuerySet.all() calls in docs and tests.
|
il y a 3 ans |
Baptiste Mispelon
|
f7e0bffa2e
Refs #33348 -- Made SimpleTestCase.assertFormError() raise ValueError when "field" is passed without "form_index".
|
il y a 3 ans |
Mariusz Felisiak
|
d4c9dab74b
Refs #33348 -- Fixed SimpleTestCase.assertFormError() error message raised for unbound forms.
|
il y a 3 ans |
Baptiste Mispelon
|
d84cd91e90
Refs #33348 -- Improved messages raised by SimpleTestCase.assertFormError()/assertFormsetErrors().
|
il y a 3 ans |
Baptiste Mispelon
|
9bb13def5d
Refs #33348 -- Made SimpleTestCase.assertFormsetErrors() raise an error when form_index is too big.
|
il y a 3 ans |
Baptiste Mispelon
|
7986028e3f
Refs #33348 -- Made SimpleTestCase.assertFormError()/assertFormsetErrors() raise an error for unbound forms/formsets.
|
il y a 3 ans |
Mariusz Felisiak
|
7119f40c98
Refs #33476 -- Refactored code to strictly match 88 characters line length.
|
il y a 3 ans |