summaryrefslogtreecommitdiff
path: root/django/test/testcases.py
AgeCommit message (Expand)Author
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
2019-10-21Fixed #30876 -- Moved classproperty() decorator to the django.utils.functional.André Ericson
2019-10-18Fixed #27391 -- Implemented SimpleTestCase.debug().Pavel Savchenko
2019-10-18Fixed #28337 -- Preserved extra headers of requests made with django.test.Cli...Patrick Jenkins
2019-09-10Refs #28478 -- Removed support for TestCase's allow_database_queries and mult...Mariusz Felisiak
2019-02-14Fixed #30171 -- Fixed DatabaseError in servers tests.Jon Dufresne
2019-01-21Fixed #30121 -- Fixed assertURLEqual() crash with reverse_lazy() URLs.Jon Dufresne
2019-01-14Refs #28478 -- Prevented database feature based skipping on tests disallowing...Simon Charette
2019-01-14Refs #28478 -- Prevented connection attempts against disallowed databases in ...Simon Charette
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in f...Simon Charette
2018-12-05Reverted "Fixed #25251 -- Made data migrations available in TransactionTestCa...Tim Graham
2018-11-06Fixed #25251 -- Made data migrations available in TransactionTestCase when us...romgar
2018-11-03Fixed #29883 -- Added selenium hub support to runtests.py.Tom Forbes
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-07-18Removed duplicate words in various comments.Mariusz Felisiak