summaryrefslogtreecommitdiff
path: root/tests/messages_tests/tests.py
AgeCommit message (Collapse)Author
2024-08-08Fixed #35622 -- Made unittest ignore Django assertions in traceback frames.Adam Johnson
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2023-11-13Fixed #34958 -- Fixed isolation of messages_tests.tests.TestLevelTags.test_lazy.nessita
2023-10-24Fixed #34923 -- Avoided initializing LEVEL_TAGS when importing ↵Mariusz Felisiak
django.contrib.messages. Regression in b7fe36ad37fb18c4bc7932c0aec6ae4f299b9622. Thanks James Gillard for the report.
2023-09-05Fixed #34730 -- Added ↵François Freitag
django.contrib.messages.test.MessagesTestMixin.assertMessages().
2023-08-25Refs #34730 -- Made Message importable from django.contrib.messages.François Freitag
2023-08-24Refs #24121 -- Added __repr__() to Message.François Freitag
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-11-26Fixed #33303 -- Changed messages' level tags on MESSAGE_TAGS setting change.Hasan Ramezani
2019-10-01Fixed #30651 -- Made __eq__() methods return NotImplemented for not ↵ElizabethU
implemented comparisons. Changed __eq__ to return NotImplemented instead of False if compared to an object of the same type, as is recommended by the Python data model reference. Now these models can be compared to ANY (or other objects with __eq__ overwritten) without returning False automatically.
2019-10-01Refs #30651 -- Added tests for Message.__eq__().Mariusz Felisiak