summaryrefslogtreecommitdiff
path: root/tests/m2m_through_regress
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-13/+23
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-073-47/+71
|
* Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani2020-11-061-71/+23
| | | | | | | | 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>
* Changed `'%s' % value` pattern to `str(value)`.Nick Pope2020-05-041-2/+2
|
* Removed unused __str__() methods in tests models.Mariusz Felisiak2020-04-301-6/+0
| | | Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
* Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a ↵Collin Anderson2019-01-151-36/+0
| | | | through model.
* Followed style guide for model attribute ordering.Matt Wiens2018-12-271-3/+3
|
* Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette2018-11-271-7/+8
|
* Refs #9804 -- Fixed test for sequence reset of M2M with inherited through model.Tim Graham2018-07-111-19/+0
|
* Fixed #28776 -- Fixed a/an/and typos in docs and comments.Дилян Палаузов2017-11-061-1/+1
|
* Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne2017-06-011-1/+1
|
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-1/+2
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-8/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-183-6/+0
|
* Fixed typo in m2m_through_regress test methods.Tim Graham2016-12-231-2/+2
|
* Refs #18823 -- Corrected field name in an m2m manager error message.Andrey Kuzminov2016-12-231-2/+2
|
* Used assertRaisesMessage() in m2m_through_regress tests.Tim Graham2016-12-231-9/+37
| | | | | | The "needs to have a value for field" messages are incorrect and reference nonexistent fields since the commit in which they were introduced (refs #18823).
* Fixed #17002 -- Allowed using a ManyToManyField through model that inherits ↵InvalidInterrupt2016-12-072-0/+80
| | | | another.
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-1/+4
|
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-2/+1
|
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-2/+4
|
* Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵Tim Graham2015-10-271-2/+14
| | | | related set.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-3/+17
|
* Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella2015-07-271-8/+8
| | | | ForeignKey/OneToOneField
* Refs #18586 -- Split up tests.m2m_through_regressMichael Blatherwick2015-03-241-51/+57
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+4
|
* PEP8 cleanupJason Myers2013-11-021-0/+9
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fix all violators of E231Alex Gaynor2013-10-261-4/+4
|
* Fixed E225 pep8 warnings.Tim Graham2013-10-231-1/+1
|
* Fixed E221 pep8 warnings.Tim Graham2013-10-221-1/+1
|
* Removed unneeded imports in tests's __init__.py and unified them.Florian Apolloner2013-09-091-2/+0
|
* 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.
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-0/+1
| | | | Fixed #20483.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-264-0/+358