summaryrefslogtreecommitdiff
path: root/tests/signals
AgeCommit message (Collapse)Author
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
2024-02-08Fixed #35174 -- Fixed Signal.asend()/asend_robust() crash when all receivers ↵Vašek Dohnal
are asynchronous. Regression in e83a88566a71a2353cebc35992c110be0f8628af.
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2023-03-08Refs #32172 -- Used asgiref coroutine shim in async signals tests.Carlton Gibson
Bug in e83a88566a71a2353cebc35992c110be0f8628af.
2023-03-07Fixed #32172 -- Adapted signals to allow async handlers.Jon Janzen
co-authored-by: kozzztik <kozzztik@mail.ru> co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-10-08Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner
assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
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-11Fixed #13251 -- Made pre/post_delete signals dispatch the origin.mgaligniana
2021-04-03Fixed #32594 -- Doc'd and tested that Signal.disconnect() with lazy ↵Hugo Cachitas
references returns None.
2021-03-31Refs #32594 -- Added Signal.disconnect() test with a model class.Hugo Cachitas
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-01-14Refs #31327 -- Removed providing_args argument for Signal per deprecation ↵Mariusz Felisiak
timeline.
2020-04-15Removed unused __str__() methods in tests models.Author: Mads Jensen
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2020-03-05Fixed #31327 -- Deprecated providing_args argument for Signal.Jon Dufresne
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-21Tested model signals "sender" parameter when defer() is used.Mathieu Pillard
This was fixed when dynamic classes for deferred instance loading was removed in 7f51876f99851fdc3fef63aecdfbcffa199c26b9.
2016-06-18Fixed #26778 -- Fixed ModelSignal.connect() weak argument.Tim Graham
2016-06-02Fixed #26686 -- Fixed crash when registering model signals with abstract ↵Alex Hill
senders.
2016-05-27Fixed #26642 -- Made ModelSignal.disconnect() work with lazy references.Alex Hill
2016-05-19Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation()Alex Hill
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
Thanks to Tim for the review.
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-10-27Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵Tim Graham
related set.
2014-11-21Added a test for model pre/post_init signals.Jay
2013-11-24Fixed #21391 -- Allow model signals to lazily reference their senders.Simon Charette
2013-11-18Fixed some Signal.disconnect calls from 058e434.Loic Bistuer
This would go unnoticed by the test suite because receivers are removed automatically when they are garbage collected. Changed all Signal.connect calls to hold strong references to ensure we clean up after ourselves.
2013-11-18Merged the signals and signals_regress test packages.Loic Bistuer
This patch also made the tests less likely to pollute the global state in case of failure.
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-19Removed unused local variables in tests.Tim Graham
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner