summaryrefslogtreecommitdiff
path: root/tests/properties
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-8/+7
|
* Improved Model.__init__() properties loop.Adam Johnson2022-01-131-1/+1
| | | | | This improves readability, accumulates unrecognized arguments raise an exception with all of them, and avoids refetching the values.
* Adjusted code style of a few test data setup methods.Simon Charette2018-11-271-2/+1
| | | | Thanks Mariusz for suggesting it.
* Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette2018-11-271-3/+4
|
* Fixed #29517 -- Rephrased error message when passing incorrect kwarg to ↵Federico Bond2018-06-251-1/+1
| | | | model constructor
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-1/+2
|
* Fixed #25910 -- Rejected read-only property names in model constructors.Joshua Phillips2016-01-221-0/+4
|
* Removed numbering from the models.py header of some test packages.Loic Bistuer2014-09-241-1/+1
| | | | This is a reliqua from the early days of the modeltests/regressiontests era.
* Fixed the use of the -ise suffix, where -ize is preferedAlex Gaynor2013-11-151-1/+1
|
* Fixed all E251 violationsAlex Gaynor2013-11-031-1/+1
|
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+46