summaryrefslogtreecommitdiff
path: root/django/test/testcases.py
AgeCommit message (Expand)Author
2026-04-16Added DatabaseFeatures.disallowed_simple_test_case_connection_methods.Tim Graham
2026-03-30Refs #36770 -- Guarded against an endless wait in LiveServerThread.terminate().Jacob Walls
2026-03-16Fixed #36859 -- Made assertContains and assertNotContains idempotent for stre...Baptiste Mispelon
2026-01-31Refs #34118 -- Removed asgiref coroutine detection shims.Jacob Walls
2025-12-19Fixed #36487 -- Fixed logger error message with partial callbacks.Krishnaprasad MG
2025-09-15Fixed #36589 -- Made assertTemplateUsed/NotUsed track full path for PartialTe...Caitie Baca
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-07-18Fixed #35728 -- Computed error messages in assertions only on test failures.Clifford Gama
2025-06-21Removed @skipIfDBFeature silencing of nonexistent features.Tim Graham
2025-06-20Removed @skipUnlessDBFeature silencing of nonexistent features.Tim Graham
2025-01-20Fixed #36005 -- Dropped support for Python 3.10 and 3.11.Mariusz Felisiak
2024-09-17Fixed #35660 -- Made serialized_rollback and fixture data available in Transa...Jacob Walls
2024-09-17Refs #35660 -- Updated TransactionTestCase methods into class or static methods.Jacob Walls
2024-08-08Fixed #35622 -- Made unittest ignore Django assertions in traceback frames.Adam Johnson
2024-07-22Fixed typo in django/test/testcases.py docstring.Jacob Walls
2024-05-29Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.Jake Howard
2024-02-26Refs #32114 -- Fixed test crash on non-picklable objects in subtests when Pic...David Wobrock
2024-02-21Fixed #32114 -- Fixed parallel test crash on non-picklable objects in subtests.David Wobrock
2024-02-19Fixed #35226 -- Reallowed executing queries for dynamically created connections.Mariusz Felisiak
2024-02-14Fixed #28263 -- Fixed TestCase setup for databases that don't support savepoi...Tim Graham
2024-01-04Used enterClassContext() where appropriate.Mariusz Felisiak
2024-01-03Fixed #33277 -- Disallowed database connections in threads in SimpleTestCase.David Wobrock
2023-12-22Fixed #34658 -- Added SimpleTestCase.assertNotInHTML().Nicolas Lupien
2023-12-12Refs #34305 -- Added SimpleTestCase.enterClassContext() on Python < 3.11.Nick Pope
2023-10-03Fixed #34657 -- Made assert(Not)Contains/assertInHTML display haystacks in er...Chinmoy Chakraborty
2023-10-03Refs #34657 -- Made msg_prefix handling in assertURLEqual()/assertInHTML cons...Mariusz Felisiak
2023-10-02Fixed #32602 -- Clarified wording of TestCase class.faishalmanzar
2023-09-29Refs #34657 -- Made assertInHTML() use unparsed needle in error messages.Chinmoy Chakraborty
2023-09-22Fixed #34823 -- Fixed assertTemplateUsed() context manager crash on unnamed t...Arian
2023-09-18Refs #33990 -- Removed TransactionTestCase.assertQuerysetEqual() per deprecat...Mariusz Felisiak
2023-09-18Refs #33990 -- Removed SimpleTestCase.assertFormsetError() per deprecation ti...Mariusz Felisiak
2023-07-27Simplified call_command() calls.Nick Pope
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2023-01-18Refs #34233 -- Used str.removeprefix()/removesuffix().Mariusz Felisiak
2023-01-18Fixed #34233 -- Dropped support for Python 3.8 and 3.9.Mariusz Felisiak
2023-01-17Refs #33348 -- Removed support for passing response object and form/formset n...Mariusz Felisiak
2023-01-17Refs #33348 -- Removed support for passing errors=None to SimpleTestCase.asse...Mariusz Felisiak
2023-01-13Fixed #34240 -- Preserved headers of requests made with django.test.Client in...Mariusz Felisiak
2022-12-20Refs #34118 -- Adopted asgiref coroutine detection shims.Carlton Gibson
2022-11-24Fixed #29062 -- Prevented possibility of database lock when using LiveServerT...baldychristophe
2022-10-08Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQue...Gregor Gärtner
2022-10-07Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to assertFormSetEr...Gregor Gärtner
2022-09-06Fixed #33616 -- Allowed registering callbacks that can fail in transaction.on...SirAbhi13
2022-04-06Fixed #33348 -- Changed SimpleTestCase.assertFormError()/assertFormsetErrors(...Baptiste Mispelon
2022-03-17Prevented initialization of unused database connections.Florian Apolloner
2022-02-15Refs #33348 -- Made SimpleTestCase.assertFormError() raise ValueError when "f...Baptiste Mispelon
2022-02-15Refs #33348 -- Fixed SimpleTestCase.assertFormError() error message raised fo...Mariusz Felisiak
2022-02-15Refs #33348 -- Improved messages raised by SimpleTestCase.assertFormError()/a...Baptiste Mispelon
2022-02-14Refs #33348 -- Made SimpleTestCase.assertFormsetErrors() raise an error when ...Baptiste Mispelon
2022-02-14Refs #33348 -- Made SimpleTestCase.assertFormError()/assertFormsetErrors() ra...Baptiste Mispelon