summaryrefslogtreecommitdiff
path: root/tests/extra_regress
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner2022-10-081-4/+4
| | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-221-1/+1
| | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+2
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-144/+184
|
* Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani2020-11-061-21/+18
| | | | | | | | This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Removed unused __str__() methods in tests models.Mariusz Felisiak2020-04-301-3/+0
| | | Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
* Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope2019-02-061-22/+18
| | | | Dicts preserve order since Python 3.6.
* Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette2018-11-271-2/+3
|
* Refs #7070 -- Improved test for extra(), values(), distinct() and ordering() ↵Sergey Fedoseev2017-08-081-1/+2
| | | | | | all together. Tested that the extra select that appears in the select clause only because of distinct() and order_by() doesn't appear in the result values.
* Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis2017-02-011-4/+2
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-2/+2
|
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-3/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-4/+0
|
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-1/+1
|
* Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵Mads Jensen2016-09-131-9/+4
| | | | assertSequenceEqual().
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-9/+8
|
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-19/+93
|
* Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella2015-07-271-2/+2
| | | | ForeignKey/OneToOneField
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+2
|
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Fixed E124 pep8 warnings.Loic Bistuer2013-12-101-12/+17
|
* Fixed #20600 -- ordered distinct(*fields) in subqueriesAnssi Kääriäinen2013-11-071-0/+16
|
* PEP8 cleanupJason Myers2013-11-021-0/+2
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed flake8 E241Boryslav Larin2013-11-021-1/+1
|
* Fix all violators of E231Alex Gaynor2013-10-262-18/+18
|
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-16/+15
|
* Removed unused local variables in tests.Tim Graham2013-10-191-1/+1
|
* Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol2013-10-171-2/+2
|
* Whitespace cleanup.Tim Graham2013-10-101-1/+0
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Deprecated SortedDict (replaced with collections.OrderedDict)Curtis Maloney2013-08-041-19/+19
| | | | Thanks Loic Bistuer for the review.
* 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/+395