summaryrefslogtreecommitdiff
path: root/tests/model_regress/tests.py
AgeCommit message (Collapse)Author
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
2020-08-12Fixed #31863 -- Prevented mutating model state by copies of model instances.Gert Burger
Regression in bfb746f983aa741afa3709794e70f1e0ab6040b5.
2019-11-28Refs #23919 -- Replaced super(...) with super() in metaclasses.Jon Dufresne
2019-03-14Fixed #30254 -- Allowed model metaclasses to access the attribute dict in ↵Matt Westcott
__init__(). Regression in a68ea231012434b522ce45c513d84add516afa60.
2017-11-06Fixed #28776 -- Fixed a/an/and typos in docs and comments.Дилян Палаузов
2017-06-11Refs #23919 -- Removed support for broken Model.__str__() in Model.__repr__().Tim Graham
Returning invalid bytestrings in __str__() is unlikely in Python 3.
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-20Fixed #27514 -- Tested Model.__init__ excessive number of fields.Adam Chainz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-11Tested Model.get_next/prev_by_FIELD() on unsaved models.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-11Revert "Marked a test as an expected failure on MySQL and Python 3.2."Claude Paroz
This reverts commit 832b4a5722ba6b55e7b17c3bac6614ecca9aa88d. We officially don't support MySQL on Python 3.2. Refs #20380.
2014-05-16Fix storing of binary fields and unicode textfields for Oracle/Python3Shai Berger
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-17Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol
2013-09-09Refactored code and tests that relied on django.utils.tzinfo.Aymeric Augustin
Refs #17262.
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-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-05-08Marked a test as an expected failure on MySQL and Python 3.2.Aymeric Augustin
This test hits a bug in current ports of MySQLdb.
2013-04-08Fixed #14019 -- Initialize `SQLInsertCompiler.return_id` attribute.Tobias McNulty
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner