summaryrefslogtreecommitdiff
path: root/tests/dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-32/+38
|
* Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using ↵Mateo Radman2021-06-251-1/+1
| | | | "assert" in various code.
* Fixed #32261 -- Added error logging to Signal.send_robust().Ayush Bansal2020-12-151-7/+22
|
* Fixed #31327 -- Deprecated providing_args argument for Signal.Jon Dufresne2020-03-051-4/+4
|
* Refs #28954 -- Removed remaining Jython-specific code from dispatch tests.Nick Pope2019-12-191-9/+1
| | | | Missed in 23b21db31bfcf2a065d485617412cca43a311a4c.
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-1/+1
|
* Refs #24205 -- Removed Signal.disconnect()'s weak argument.Tim Graham2017-01-171-24/+0
| | | | Per deprecation timeline.
* Completed django.dispatch test coverage.Adam Chainz2016-11-222-19/+83
|
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+1
|
* Used assertIsInstance in tests.Alasdair Nicol2015-04-271-1/+1
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+0
|
* Added return value to Signal.disconnect().Andriy Sokolovskiy2015-01-021-0/+10
|
* Renamed an assertion in the dispatch tests.Tim Graham2015-01-021-10/+9
|
* Removed unnecessary directory in dispatch tests.Tim Graham2014-07-072-0/+0
|
* Fixed #22909 -- Removed camelCasing in some tests.Tim Graham2014-07-071-10/+10
| | | | Thanks brylie.
* Fixed #16245 -- Included traceback in send_robust()'s responseUnai Zalakain2014-05-161-0/+3
| | | | | | Exceptions from the (receiver, exception) tuples returned by ``send_robust()`` now have always their traceback attached as their ``__traceback__`` argument.
* Fixed #21952 -- signals deadlock due to locking + weakref interactionAnssi Kääriäinen2014-02-051-3/+4
|
* Fixed removal of signal receivers in Python 3.4Florian Apolloner2014-01-091-76/+0
| | | | | | | | | Make use of `weakref.finalize` and `weakref.WeakMethod` on python 3.4. Simplified the removal of receivers, the old function looked overly complicated. Many thanks go to Antoine Pitrou for helping me to debug and explain all the failures I ran into while writing that patch.
* Removed superfluous models.py files.Aymeric Augustin2013-12-171-0/+0
| | | | | | | Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module.
* PEP8 cleanupJason Myers2013-11-022-3/+9
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fix all violators of E231Alex Gaynor2013-10-261-2/+2
|
* Fixed E225 pep8 warnings.Tim Graham2013-10-231-1/+1
|
* Removed unneeded imports in tests's __init__.py and unified them.Florian Apolloner2013-09-092-8/+0
|
* Fixed #20943 -- Weakly reference senders when caching their associated receiversSimon Charette2013-08-201-0/+21
|
* Removed most of absolute_import importsClaude Paroz2013-07-291-2/+0
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-012-2/+3
| | | | Refs #20680.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-1/+1
| | | | Gives much nicer errors when it fails.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-265-0/+245