summaryrefslogtreecommitdiff
path: root/django/test/testcases.py
AgeCommit message (Expand)Author
2023-02-01[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.David Smith
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
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-25Refs #20349 -- Avoided loading testing libraries when not needed.Collin Anderson
2022-01-06Refs #33348 -- Deprecated passing errors=None to SimpleTestCase.assertFormErr...Baptiste Mispelon
2022-01-06Fixed #33410 -- Fixed recursive capturing of callbacks by TestCase.captureOnC...Petter Friberg
2022-01-05Fixed #33400 -- Added support for msg_prefix and count arguments to assertTem...Ad Timmering
2022-01-05Refs #33400 -- Renamed SimpleTestCase._assert_template_used() to _get_templat...Ad Timmering
2021-12-08Fixed #33346 -- Fixed SimpleTestCase.assertFormsetError() crash on a formset ...Baptiste Mispelon
2021-11-26Refs #33301 -- Made SimpleTestCase.assertFormError()/assertFormsetErrors() ra...Baptiste Mispelon
2021-11-15Fixed #33278 -- Improved error for connection/query attempts against disallow...SwastikTripathi
2021-11-12Fixed #33161 -- Enabled durability check for nested atomic blocks in TestCase.Krzysztof Jagiello
2021-10-26Fixed #27079 -- Avoided multiple setUpClass()/tearDownClass() calls in LiveSe...Jacob Walls
2021-10-20Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.David Smith
2021-09-20Refs #31235 -- Made assertQuerysetEqual() not call repr() on a queryset when ...Mariusz Felisiak
2021-09-20Refs #31395 -- Removed support for assigning objects which don't support deep...Mariusz Felisiak
2021-08-30Fixed #33054 -- Made TestCase.captureOnCommitCallbacks() capture callbacks re...Eugene Morozov
2021-07-05Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert".Mateo Radman
2021-06-08Refs #32355 -- Used addClassCleanup() in SimpleTestCase and SerializeMixin.Mariusz Felisiak
2021-06-04Made SerializeMixin check lockfile attr at import time.Adam Johnson
2021-04-12Fixed #32416 -- Made ThreadedWSGIServer close connections after each thread.Chris Jerdonek
2021-04-12Refs #32416 -- Added LiveServerTestCase._make_connections_override() hook.Chris Jerdonek
2021-03-10Refs #31235 -- Improved assertQuerysetEqual() warning message with stacklevel=2.Claude Paroz
2021-03-04Fixed typo assertNotContains() docstring.Jacob Walls
2021-03-02Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10.François Freitag
2021-02-26Fixed typo in assertQuerysetEqual() exception message.Jacob Walls
2021-02-22Fixed #32469 -- Made assertQuerysetEqual() respect maxDiff when ordered=False.Nick Pope
2021-02-15Fixed #32417 -- Removed unneeded hasattr() check in LiveServerTestCase._tearD...Chris Jerdonek
2021-02-12Fixed #32437 -- Fixed cleaning up ALLOWED_HOSTS in LiveServerTestCase on setU...Chris Jerdonek
2021-02-12Refs #32416 -- Added LiveServerThread.server_class to ease subclassing.Chris Jerdonek
2020-11-27Fixed #32220 -- Added durable argument to transaction.atomic().Ian Foote
2020-11-06Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani
2020-08-14Removed unnecessary urlsplit() call from SimpleTestCase.assertRedirects().Mads Jensen
2020-07-13Fixed #30457 -- Added TestCase.captureOnCommitCallbacks().Adam Johnson
2020-05-15Fixed #31395 -- Made setUpTestData enforce in-memory data isolation.Simon Charette
2020-03-18Fixed #31224 -- Added support for asynchronous views and middleware.Andrew Godwin
2020-03-05Refs #31224 -- Added autoconversion of test async methods.Andrew Godwin